By Abdou
I followed the tutorial on installing nginx and adding a domain name. The domain name is abdou.dev. I can curl it via the terminal and I get back the html I expect, It also works with a proxy like hidester. But I can’t reach it using the browser. I tried different browsers, I cleared the cache, but no use. Any idea? And thanks in advance.
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!
I guess it’s because .dev domains are on HSTS preload list. I’ll configure SSL and see.
Hi @aouahib,
This seems like an issue with the Nginx configuration file rather than anything else.
In such cases, It’s always best to stick with the basics and see if everything will workthat way as well. The best place to take a basic config that should JUST work is from here:
https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-ubuntu-20-04
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.