Damn stupid me. Thanks a lot Igor.<br><br>-- <br>Joe Jacobs <br><a href="http://joejacobs.org/">http://joejacobs.org/</a> | <a href="http://hazardcell.com">http://hazardcell.com</a><br><br><div class="gmail_quote">On Fri, Jun 13, 2008 at 7:16 AM, Igor Sysoev &lt;<a href="mailto:is@rambler-co.ru">is@rambler-co.ru</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">On Fri, Jun 13, 2008 at 03:29:08AM +0100, Joe Jacobs wrote:<br>

<br>
&gt; I&#39;ve got a weird problem with my nginx install. I cannot access any site at<br>
&gt; all without the www prefix. It&#39;s probably my stupidity but I was wondering<br>
&gt; if anyone could help point out what my problem is. I&#39;ve installed nginx<br>
&gt; 0.6.31 on debian 4.0 with php installed. when I set the server_name to<br>
&gt; www.domain.tld the addresses resolve correctly but when I type in the url<br>
&gt; without the www-prefix it automatically adds the www prefix. If I set the<br>
&gt; server_name to domain.tld (without www) none of the addresses resolve<br>
&gt; correctly. What am I doing wrong? Any help at all is greatly appreciated.<br>
&gt; Thanks in advance. Oh and in case you want to check out the problem it is at<br>
&gt; <a href="http://hazardcell.net" target="_blank">hazardcell.net</a>. currently I set the server_name with the www prefix.<br>
<br>
</div></div>You have no set A DNS record for <a href="http://hazardcell.net" target="_blank">hazardcell.net</a>:<br>
<br>
$host <a href="http://www.hazardcell.net" target="_blank">www.hazardcell.net</a><br>
<a href="http://www.hazardcell.net" target="_blank">www.hazardcell.net</a> has address <a href="http://65.75.189.131" target="_blank">65.75.189.131</a><br>
<br>
$host <a href="http://hazardcell.net" target="_blank">hazardcell.net</a><br>
<a href="http://hazardcell.net" target="_blank">hazardcell.net</a> mail is handled by 1 <a href="http://mail1.hazardcell.net" target="_blank">mail1.hazardcell.net</a>.<br>
<br>
It seems that Firefox (in my test) automatically retrys site with<br>
the www prefix in this case.<br>
<font color="#888888"><br>
<br>
--<br>
Igor Sysoev<br>
<a href="http://sysoev.ru/en/" target="_blank">http://sysoev.ru/en/</a><br>
<br>
</font></blockquote></div>