Report this

What is the reason for this report?

domain not working on browser, but I use curl command on the domain it can get content response.

Posted on February 25, 2022

I’ve already successfully pointed domain from godaddy to my droplet server. and I have configure nginx hosting to the domain. and when I access domain on browser, it’s not working but if I use curl command on my domain, it can get content respones.



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,

What is the exact error that you get when you visit your domain name via your browser?

I could suggest trying to clear your browser’s cache.

Also, try visiting the domain via HTTP rather than HTTPS. And if this works, it would mean that you need to install an SSL certificate as per the instructions here:

https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-20-04

Also, another thing to keep in mind is that once you make a DNS change it could take up to 24-48 hours for the DNS cache to clear over the Globe before you could see the new DNS records.

Best,

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.