Report this

What is the reason for this report?

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

Posted on September 23, 2017

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?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.