Welcome! Log In Create A New Profile

Advanced

can multiple domain points a single nginx host with server_name ?

Joydeep Bakshi
April 28, 2014 07:46AM
Hello list,

I am in a process to configure nginx infront of apache. For vhost having
single domain like www.mydomain.com & mydomain.com ; there is no issue to
configure by server_name directive.

But what to do where multiple domain points to a single apache vhost using
apache server_alias directive ? Can nginx server_name simply points all
those domains to the required vhost of apache ?

is

nginx [ server_name test1.com test2.com www.test3.com ]

equivalent to

apache [
servername test1.com
serveralias test2.com www.test3.com ]

?

Thanks
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

can multiple domain points a single nginx host with server_name ?

Joydeep Bakshi April 28, 2014 07:46AM

Re: can multiple domain points a single nginx host with server_name ?

Maxim Dounin April 28, 2014 08:56AM

Re: can multiple domain points a single nginx host with server_name ?

Jonathan Matthews April 28, 2014 09:18AM

Re: can multiple domain points a single nginx host with server_name ?

Joydeep Bakshi April 28, 2014 09:28AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 108
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