On Sat, Jun 16, 2012 at 08:54:00PM +0530, Chetan Patil wrote:
> On Sat, Jun 16, 2012 at 7:19 PM, Francis Daly <francis@daoine.org> wrote:
Hi there,
> > adding a line
> >
> > 127.0.0.1 test
> >
> > to /etc/hosts will make it all Just Work for all browsers on the system.
> It worked. Thanks.
>
> So, same configuration has to be done while moving to Linux hosted server ?
Probably not. This is a *client* configuration, not an nginx one.
You will need that all clients (= browsers) know how to turn whatever
server name you want to use, into whatever IP address your server has.
Usually DNS takes care of this.
/etc/hosts is a useful temporary local setting until DNS records are
set up properly.
f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx