Welcome! Log In Create A New Profile

Advanced

Re: Nginx mass dynamic virtual hosts like apache?

November 19, 2011 07:41PM
Thanks now if I wanted to let a member who has a sub-domain on our domain, "user.domain.com" map one of their own domains or sub-domains using a cname. I would need to create a ServerAlias for their sub-domain, in apache2 it would be something like below. So using the regex probably wouldn't be the best method, so just adding them as you listed in the first reply is how to go about it?

ServerName user.domain.com
ServerAlias *.user.domain.com
ServerAlias usersowndomain.com
Subject Author Posted

Nginx mass dynamic virtual hosts like apache?

anagio November 19, 2011 05:25PM

Re: Nginx mass dynamic virtual hosts like apache?

Alexandr Gomoliako November 19, 2011 05:56PM

Re: Nginx mass dynamic virtual hosts like apache?

anagio November 19, 2011 07:17PM

Re: Nginx mass dynamic virtual hosts like apache?

anagio November 19, 2011 07:41PM

Re: Nginx mass dynamic virtual hosts like apache?

Alexandr Gomoliako November 19, 2011 07:34PM

Re: Nginx mass dynamic virtual hosts like apache?

Alexandr Gomoliako November 19, 2011 07:58PM

Re: Nginx mass dynamic virtual hosts like apache?

anagio November 20, 2011 04:42AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 263
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready