Question

Nginx domain name resolves using curl but not using the browser

Posted April 21, 2021 100 views
NginxDNSFirewall

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.

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.

×
Submit an Answer
1 answer

I guess it’s because .dev domains are on HSTS preload list. I’ll configure SSL and see.