Skip to main content
Share Your Experience: Take the 2024 Developer Survey
10 votes
Accepted

Vulnerability in /boaform/admin/formLogin?

This appears to be related to a cluster of exploits that target fiber optic routers. If you are running a simple HTTP website and you are not maintaining fiber optic router equipment, I believe you ...
Maximillian Laumeister's user avatar
7 votes
Accepted

How to stop domains from pointing to my server IP address and duplicating my site using nginx

To improve security, prevent host header attacks, and preserve your search rankings, here is what I recommend: No default site Simply drop all traffic not matching your genuine website. Before using ...
Tom Brossman's user avatar
  • 2,291
5 votes
Accepted

HTTP2 is enabled and working, but PHP $_SERVER['SERVER_PROTOCOL'] still says "HTTP/1.1"

This has to do with how Cloudflare connects to servers. Although it does serve the client via HTTP2 (or HTTP3), it still connects to the server itself via HTTP1.1. Cloudflare only uses HTTP/1.x ...
GreatBlakes's user avatar
4 votes

Do I need to change the host file of each computer to share a web page on a local network using a hostname?

This depends on how your network is setup. If you have a central DNS server on your network (as many enterprise business networks have) then you can add a zone record for whatever domain you wish for ...
Chris Rutherfurd's user avatar
4 votes

How to stop domains from pointing to my server IP address and duplicating my site using nginx

It looks to me like your server is set up to redirect to HTTPS, which causes a certificate mismatch error when a visitor tries to load one of these other domains that's pointing at your IP. This is a ...
Maximillian Laumeister's user avatar
3 votes
Accepted

Do you need to set your network profile as Public or Private when creating your own hosting?

I could not find any other resource about it but I found answer in the comments of my question. I would like to post it as an answer below: This setting does not impact TCP/IP access to your computer, ...
Vikas's user avatar
  • 149
3 votes

When MediaWiki has symbolic links to contents then LocalSettings.php is not found

Since the marked correct answer means copying ~27.5mb as of MediaWiki 1.38.1, which largely defeats the purpose of using symlinks, I found an alternative solution that avoids copying anything extra. ...
Kristen Ritterbush's user avatar
3 votes
Accepted

How to create user in phpmyadmin to connect two servers?

Create the remote connection To create a remote connection: On your database server, as a user with root privileges, open your MySQL configuration file. To locate it, enter the following command: ...
Michael Yaeger's user avatar
3 votes

Modsecurity Nginx breaks Wordpress's Woocommerce checkout page. Need help finding working rule exclusions

CRS dev-on-duty here. I tried to answer your question in your issue in our GitHub repo. Please have a look there: https://github.com/coreruleset/coreruleset/issues/3226
franbuehler's user avatar
2 votes

Not able to see public_html from the AWS EC2 instance when accessed via PuTTY

Using putty terminal using SSH will automatically log you in with the top level directory structure while using FTP will be bound to whatever is set within your config. You will normally find ...
Simon Hayter's user avatar
2 votes

Subdomains getting redirected to root directory of virtualhost

As mentioned in comments, I don't see any spurious redirects that you appear to be reporting and the two URLs do appear to return different content (although they "look similar"). So this appears to ...
MrWhite's user avatar
  • 42.8k
2 votes
Accepted

Where To Configure SSL On Nginx Reverse Proxy or on Apache2 on Ubuntu 18.04 Server?

Nginx is a reverse proxy in your example, which means it terminates the HTTP exchange. Clients do not know that there is anything after Nginx, for them, Nginx is the webserver and the source of the ...
Patrick Mevzek's user avatar
2 votes

HTTP2 is enabled and working, but PHP $_SERVER['SERVER_PROTOCOL'] still says "HTTP/1.1"

Thank you, the QA here helped me to solve my issue. Here are specifics in case others run into similar issues with PHP "detection" incorrectly displaying the protocol behind a proxy such as ...
nsolent's user avatar
  • 121
2 votes
Accepted

Subdomain folder content returns 404, but root level works

The problem is in a default configuration file that is included with Apache2 from Debian and Ubuntu: /etc/apache2/mods-available/alias.conf which has: # We include the /icons/ alias for FancyIndexed ...
Stephen Ostermiller's user avatar
1 vote
Accepted

Apache2 set up on Ubuntu 20.04 problem: refused to connect

Your HTTP site does work: $ curl http://good-health.ml <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Welcome to Good-...
Stephen Ostermiller's user avatar
1 vote
Accepted

When MediaWiki has symbolic links to contents then LocalSettings.php is not found

I removed symlinks to includes/, load.php and index.php of /var/www/html/mediawiki-1.35.1/ and copy them to the /www/html/m1. This solved the problem.
hasanghaforian's user avatar
1 vote

When MediaWiki has symbolic links to contents then LocalSettings.php is not found

Your LocalSettings.php is included, ultimately, by /var/www/html/mediawiki-1.35.1/index.php: this is the PHP program that runs. It looks for included files in its home directory, which is /var/www/...
Alexander Mashin's user avatar
1 vote
Accepted

Nginx ERR_TOO_MANY_REDIRECTS by adjusting WordPress Permalinks | 301 Error Ubuntu 18.04

Alhamdulillah, I found the answer. It was all due to trying to be perfectionist Muslim, I had capital letters in the URL inside: /wp-admin/options-general.php. All praises to God (Alhamdulillah), ...
Tarik Hacialiogullari's user avatar
1 vote

How to stop domains from pointing to my server IP address and duplicating my site using nginx

I had this problem. Some sc###ag was my DNS for their server, there was a real danger visitors might attempt to sign in or sign up. I added the following NGINX rule, right at the bottom of the ...
Ian Bradbury's user avatar
1 vote

How to stop domains from pointing to my server IP address and duplicating my site using nginx

If you are familliar with php and feels comfortable editing files then adding a custom a code in index.php will do the trick just fine. here what i should use in my index.php file after php open tag(&...
Ankit Y.'s user avatar
1 vote

ErrorDocument Not Working

Thanks to w3dk's questions I was able to work through why my page re-directs weren't working. I was using let's encrypt for my security certificate, and because of (or perhaps my lack of knowledge), ...
Chris's user avatar
  • 131
1 vote

HTTPS + IP not redirecting to configured Domain Name and gives "Your connection is not private" [Nginx/Ubuntu]

The SSL/TLS Handshake happens immediately after the TCP Handshake. During SSL/TLS Handshake, the Web Server has to provide its SSL/TLS x.509 certificate to the client.The client matches current domain ...
Z A P's user avatar
  • 11
1 vote

HTTPS + IP not redirecting to configured Domain Name and gives "Your connection is not private" [Nginx/Ubuntu]

I would very strongly recommend not worrying about redirecting HTTPS access by IP address. It is a very rare setup that reduces a lot of your hosting flexibility for very little benefit. Chances are ...
Maximillian Laumeister's user avatar
1 vote

Not able to see public_html from the AWS EC2 instance when accessed via PuTTY

Yes, whatever that Simon Hayter♦ said was right after all. In order to solve this issue, I had connected FileZilla Client software via SFTP connection. It clearly showed the directory structure where ...
Nɪsʜᴀɴᴛʜ ॐ's user avatar
1 vote

Nginx rewrite problem - displaying same page with or without .php extension after rewrite

location ~ \.php$ { try_files $uri =404; } This config matches /pages/page.php. In this case $uri (the first argument of try_files) is /pages/page.php. Thefore, if this file exists, nginx return ...
set0gut1's user avatar
  • 111
1 vote

XenForo SEO Friendly URL returns 404 on forum page

Apparently not, no error whatsoever. It seems that .htaccess files are not allowed/enabled on your server, since adding some random text to the file produces no error. (You would expect to see a 500 ...
MrWhite's user avatar
  • 42.8k
1 vote
Accepted

Trouble replacing old SSL certificate on Nginx

I did some more digging and, as expected, the issue was not with the Nginx server or the VM it is hosted on. I neglected to update the certificate used by our HTTP Load Balancer, so even though the ...
willbattel's user avatar
1 vote

Can uploaded files override Apache permissions?

"Option 1." Write a script. Something like create_account <student name> will do well. In the script do your create the directory(ies) and then make sure permissions are right. More or less, ...
Alexis Wilke's user avatar
  • 2,235
1 vote

Domains hosted on Ubuntu Server(Plesk) can only send outgoing mails

If you are using Postfix, make sure that you are not trying to send from a send-only SMTP server: How to Install and Configure Postfix as a Send-Only SMTP Server on Ubuntu 16.04 Navigate to /etc/...
Grant Miller's user avatar
  • 1,183
1 vote

Apache2 Ubuntu 16.04 Impossible To Get CORS Working

The mod_headers module could be disabled. Try enabling it and reload Apache. sudo a2enmod headers sudo service apache2 reload If you still don't see the header try adding this to your .htaccess file:...
Dinanath Singh's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible