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

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

Be the first one to answer this question.