Why ngixn serverblock with subdomain only responds to full URL with /index.html

Posted July 30, 2018 1.1k views
NginxUbuntu 16.04Initial Server Setup

I have followed this tutorial : Example link

I used a domain, and one of its subdomains in place to and

Both can be served but the subdomain only responds if I include http:// & /index.html

Why is this and how can I configure the server to respond to without the full url?


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

This question was answered by @nico37d4af391be416669ae877:

Thank You
It appears DNS cache was the issue. A good reason to always test web development on more than one browser or machine.

View the original comment