Question
Correct HTML is shown at IP address, but nothing served at domain
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?
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.
×
@charlesstocky
What do you get when you use the domain? Can you print the nginx server block so we can help?