Requests for ‘domain.com’ return the correct index page but requests for
‘www.domain.com’ return only the “Welcome to nginx!” page. I tried
*.domain.com also as the 2nd name but the result was the same. There are
no DNS issues with both versions of the domain.
On Tue, May 31, 2011 at 02:14:04AM +0100, gvim wrote:
location / {
index index.htm index.html;
}
}
Requests for ‘domain.com’ return the correct index page but requests for
‘www.domain.com’ return only the “Welcome to nginx!” page. I tried *.domain.com
also as the 2nd name but the result was the same. There are no DNS issues with
both versions of the domain.