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

July 30, 2018 684 views
Nginx Initial Server Setup Ubuntu 16.04

I have followed this tutorial : Example link

I used a domain, and one of its subdomains in place to text.com and example.com

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 subdomain.domain.com without the full url?

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

Have another answer? Share your knowledge.