Welcome to Nginx message

Igor Sysoev is at rambler-co.ru
Mon Dec 1 15:39:07 MSK 2008

On Tue, Nov 25, 2008 at 10:38:13PM +0100, Almir Karic wrote:

> On Tue, Nov 25, 2008 at 12:17:14PM -0700, Swanilda Suarez wrote:
> > I have installed nginx, but I was wondering what do I need to do in order to
> > be able to type the ip address and instead of getting the welcome screen,
> > have my webpage come up.
> > In other words every time I type xx.xx.xx.xx I get "Welcome to Nginx" but I
> > want to go to my url now. It works fine if I type the domain name but not
> > the ip
> make the desired vhost 'default', you can either user "server_name _; " or
> "listen x.x.x.x:80 default;"

No, "server_name _" does not make a server as default. This is simply
nonexistent name that can not interfere with other names.

Only "listen default" does the default server for given IP:port.

Igor Sysoev

More information about the nginx mailing list