Nginx Server : Desired Domain Name on Local Host
chtpatil at gmail.com
Sat Jun 16 15:24:00 UTC 2012
On Sat, Jun 16, 2012 at 7:19 PM, Francis Daly <francis at daoine.org> wrote:
> Browsers tend to hide the actual error message behind a "friendly" one.
> What does
> curl -i http://test:80/
> I suspect it will be something along the lines of
> Couldn't resolve host 'test'
> 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,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx