Welcome! Log In Create A New Profile

Advanced

Re: Nginx Server : Desired Domain Name on Local Host

Francis Daly
June 16, 2012 01:34PM
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
Subject Author Posted

Nginx Server : Desired Domain Name on Local Host

Chetan Patil June 16, 2012 09:10AM

Re: Nginx Server : Desired Domain Name on Local Host

Francis Daly June 16, 2012 09:52AM

Re: Nginx Server : Desired Domain Name on Local Host

Chetan Patil June 16, 2012 11:26AM

Re: Nginx Server : Desired Domain Name on Local Host

Francis Daly June 16, 2012 01:34PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 191
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready