Hi Cliff,<br><br>I&#39;m on Debian and nginx.conf says:<br><br>    include /etc/nginx/conf.d/*.conf;<br>    include /etc/nginx/sites-enabled/*;<br><br>so I guess it is not important if my vhost files are named <a href="http://domain.com">domain.com</a> or domain.com.conf, neither work because of the default server.<br>
<br>Nedim<br><br><div class="gmail_quote">On Thu, Jun 17, 2010 at 8:12 PM, Cliff Wells <span dir="ltr">&lt;<a href="mailto:cliff@develix.com">cliff@develix.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On Thu, 2010-06-17 at 16:41 +0200, Nedim Hadzimahmutovic wrote:<br>
&gt; I have a catchall default vhost,<br>
&gt; cat /etc/nginx/sites-available/default :<br>
<br>
</div>So Debian or Ubuntu....<br>
<div class="im"><br>
&gt; It works perfectly but I want to have other vhosts on the same server<br>
&gt; besides the default catchall one. If I add another server let&#39;s say<br>
&gt; in /etc/nginx/sites-available/<a href="http://domain.com" target="_blank">domain.com</a> Nginx will ignore it.<br>
<br>
</div>That&#39;s because the name should be sites-available/domain.com.conf.   If<br>
you look in nginx.conf you&#39;ll see that it includes<br>
sites-available/*.conf, not *.com ;-)<br>
<br>
<br>
Cliff<br>
<br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://nginx.org/mailman/listinfo/nginx" target="_blank">http://nginx.org/mailman/listinfo/nginx</a><br>
</blockquote></div><br>