I’m having a very weird issue. I recently had to switch to a new domain, and after changing everything in the server files, adding the nameserver, dns records, etc, and waiting a day, these bugs are happening. It is not pending the nameserver change, I have cleared the cache, turning off the proxy doesn’t send anything to my server. It is correctly port forwarded, it worked fine before the domain change, and the main webpage does update when the proxy is on, so cloudflare isn’t just showing a cached version of the webpage. The SSL Checker shows that the correct domain matches the certificate, so there shouldn’t be any issues.
So, what is the problem?
My old domain was soue.tk. It was registered with Freenom, and they randomly stole it and are now charging money for it, so yeah I went with namesilo and registered soue.ca. Anyway, when I make a request to the web server, the host header is showing the correct domain, soue.ca, or whatever subdomain, eg images.soue.ca. I used a proxy to intercept the traffic to make sure my browser wasn’t displaying the wrong one, but it all checked out. This issue is also happening on multiple computers, on multiple browsers. This is not an issue from the client. When I log the domain in the server however, it shows soue.tk as the host header, even if I am using a subdomain. The url header does update, so it’s not using some constant header. The web server is built with node.js, and is running on a raspberry pi with port 80 port forwarded.
Again, when I turn off the proxy (the cloud is grey) then nothing is sent to the webserver. The correct ip is set, I have double checked several times.
Some info (Proxy (orange cloud) was turned on for these images)
Any help would be greatly appreciated!