Question

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

Posted July 30, 2018 867 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 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?

3 comments

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.

×
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

Submit an Answer