Hot answers tagged

2

Your DNS has two IP addresses specified for your site. Only one of the two has a server with properly configured security certificates. When you have two A records for the same host name, it is known as "round robin" DNS. Clients will randomly try to connect to one or the other. Some modern browsers may try both of them to see which works, which may be ...


2

I would say this depends on what is going on the website along with your ability to implement the solution, also whether you have subdomains. Gauging by your question, you seem to have the ability to do any of the solutions. Your websites content. I would suggest using a paid SSL if you are an e-commerce site or is a multi-site. Mainly due to the warranty ...


2

HTTP redirects happen AFTER the TLS handshake. For the TLS handshake to be successful, the server has to present a valid certificate, having in it the hostname that is in the URL being accessed, otherwise browsers will show errors. So the rule is simple: as soon as you see an https:// URL, even if all accesses to it are finally redirected to another URL, ...


2

When browsing to my external IP using 4g (by phone), I am entering the router configuration page. When doing the exact same over wifi (by laptop), I enter the site, as intended. It sounds like you have enabled the router config page to be accessed both internally and externally. External access to the config is a very bad idea and is most likely on the ...


1

Just had the very same issue with my Apache 2.4 configuration on CentOS version 8. We are all mistaken on the meaning of the _default_:443 host: this section does not contain the default settings for all the virtual hosts defined additionally. It's merely a fallback virtual host when no other hostnames are defined or an undefined hostname is called. So in ...


1

It sounds like you may have put the directives in the wrong place in your .htaccess file. The HTTP to HTTPS redirect needs to go near the top, before any other rewrites. The nature of your URLs suggest you are using a front-controller type pattern and rewriting requests to a common script. However, the "homepage" does not need to be rewritten (since mod_dir ...


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