Welcome! Log In Create A New Profile

Advanced

Re: Testing Server without domain name

Gelonida
July 23, 2011 04:22PM
On 7/23/2011 3:55 PM, Hendrik Schumacher wrote:
> You can privately map the domain name to your ip address by adding an
> entry to the hosts file (or a private dns server) on your test client.
> This way you don't have to change anything in nginx.
>
> Hendrik
>

Fully agree with Hendrik.
Changing the host entries on your test client is easiest to test virtual
servers.

If you're on a unix / linux PC just add an entry to /etc/hosts

under windows the file is located in

C:\Windows\Sysyem32\drivers\etc\hosts


_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Testing Server without domain name

Christian Becker July 23, 2011 08:10AM

Re: Testing Server without domain name

António P. P. Almeida July 23, 2011 08:20AM

Re: Testing Server without domain name

vesperto July 23, 2011 08:24AM

Re: Testing Server without domain name

António P. P. Almeida July 23, 2011 08:24AM

Re: Testing Server without domain name

Hendrik Schumacher July 23, 2011 09:56AM

Re: Testing Server without domain name

Gelonida July 23, 2011 04:22PM

Re: Testing Server without domain name

Malte Geierhos July 23, 2011 04:40PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 275
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