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

September 23, 2017 733 views
Ubuntu 16.04 Nginx

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
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

Have another answer? Share your knowledge.