Welcome! Log In Create A New Profile

Advanced

Re: Running other vhosts beside the catc-all default vhost

June 17, 2010 02:20PM
On Thu, 2010-06-17 at 16:41 +0200, Nedim Hadzimahmutovic wrote:
> I have a catchall default vhost,
> cat /etc/nginx/sites-available/default :

So Debian or Ubuntu....

> It works perfectly but I want to have other vhosts on the same server
> besides the default catchall one. If I add another server let's say
> in /etc/nginx/sites-available/domain.com Nginx will ignore it.

That's because the name should be sites-available/domain.com.conf. If
you look in nginx.conf you'll see that it includes
sites-available/*.conf, not *.com ;-)


Cliff


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

Running other vhosts beside the catc-all default vhost

Nedim Hadzimahmutovic June 17, 2010 10:50AM

Re: Running other vhosts beside the catc-all default vhost

Cliff Wells June 17, 2010 02:20PM

Re: Running other vhosts beside the catc-all default vhost

Nedim Hadzimahmutovic June 22, 2010 04:56AM

Re: Running other vhosts beside the catc-all default vhost

Nedim Hadzimahmutovic June 22, 2010 05:06AM

Re: Running other vhosts beside the catc-all default vhost

lockev3.0 January 25, 2012 10:55AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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