Question

Correct HTML is shown at IP address, but nothing served at domain

Posted September 23, 2017 891 views
NginxUbuntu 16.04

I’m trying to serve the default HTML file from nginx, which happens when I CURL/PING the domain, but not when I try to navigate to the domain in a browser. WHOIS returns the correct name servers, HTTP traffic is allowed in UFW, and the correct IP address is associated with the domain. Any suggestions?

1 comment

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Hello,

As you are able to ping the domain name and it returns the correct IP address and also you are seeing the correct content with curl, this would definitely mean that you have to clear your browser cache in order to be able to see the correct content.

Hope that this helps!
Regards,
Bobby

Submit an Answer