Welcome! Log In Create A New Profile

Advanced

Re: Nginx Server : Desired Domain Name on Local Host

Chetan Patil
June 16, 2012 11:26AM
Hi,

On Sat, Jun 16, 2012 at 7:19 PM, Francis Daly <francis@daoine.org> wrote:

> Browsers tend to hide the actual error message behind a "friendly" one.
>
> What does
>
> curl -i http://test:80/
>
> show?
>
> I suspect it will be something along the lines of
>
> Couldn't resolve host 'test'
>

Yes.


> The best way is to set up name resolution such that your browser knows
> that the name "test" corresponds to your nginx server. In the common case,
> 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 ?


--
Thank You and Warm Regards,

Chetan Arvind Patil,
www.chetanpatil.info
_______________________________________________
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: 190
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