Welcome! Log In Create A New Profile

Advanced

Wildcard subdomains (any change in nginx?)

September 12, 2012 02:49PM
I was using wildcard for including all subdomains for a server_name as

server_name domain.com;

I just installed nginx 1.2.3, but this configuration no longer works and subdomains lead to nginx 404 page. Since I followed a standard procedure of installation via apt-get, I suspect something has been changed in new versions of nginx.

Now, I can only use wildcard for subdomains with

server_name domain.com *.domain.com;

Did I miss something or it is the nginx policy in new versions and forthcoming ones to discard subdomains without *.domain.com ?
Subject Author Posted

Wildcard subdomains (any change in nginx?)

etrader September 12, 2012 02:49PM

Re: Wildcard subdomains (any change in nginx?)

VBart September 12, 2012 03:34PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 88
Record Number of Users: 7 on May 23, 2016
Record Number of Guests: 238 on March 17, 2016
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready