Nginx server_name command being ignored

Jonathan Matthews contact at
Fri Dec 14 13:18:06 UTC 2012

On 14 December 2012 13:12, constable1 <nginx-forum at> wrote:
> I've tried pinging http://test/ and get nothing

Just do "ping test". Not "ping http://test/"

> I'll have a go with your
> suggestion Jonathan and report back!

My suggestion for a default server will not fix your inability to
resolve the site's name. It's just a sanity thing you'll find useful
if you set up more server{}s over time. You need to fix the DNS/etc
issue, once you prove it exists as per the above.

Jonathan Matthews // Oxford, London, UK

More information about the nginx mailing list