no-www problem

mike mike503 at
Fri Jun 13 09:31:44 MSD 2008

post your full config

On 6/12/08, Joe Jacobs <hazardcell at> wrote:
> I've got a weird problem with my nginx install. I cannot access any site at
> all without the www prefix. It's probably my stupidity but I was wondering
> if anyone could help point out what my problem is. I've installed nginx
> 0.6.31 on debian 4.0 with php installed. when I set the server_name to
> www.domain.tld the addresses resolve correctly but when I type in the url
> without the www-prefix it automatically adds the www prefix. If I set the
> server_name to domain.tld (without www) none of the addresses resolve
> correctly. What am I doing wrong? Any help at all is greatly appreciated.
> Thanks in advance. Oh and in case you want to check out the problem it is at
> currently I set the server_name with the www prefix.
> --
> Joe Jacobs
> |

More information about the nginx mailing list