URL Problems

by

in

I’m trying to get the right domain to go to this website. Currently it goes to my dad’s website since they share an NGINX server. My theory is that since I haven’t made the site use HTTPS yet, the browser is checking for an HTTPS version of the site which falls back to default_server, which DOES have an HTTPS version, and therefore the browser uses that instead.

Testing the theory

Literally as I was writing this I decided to try making a web request using PowerShell to the domain on HTTP, and I saw in Docker Compose’s log that it actually worked. So now I know I was right, and the browser is the culprit, kind of. I did dig myself into a hole a bit by not using HTTPS.

How I’ll fix it

So my main options are to force the browser to not upgrade to HTTPS, to use Cloudflare instead of sharing the NGINX server, or to get an SSL certificate and use HTTPS.

I would prefer not to send my WordPress credentials over the network unencrypted, so SSL it is.

Part 2


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *