Testing Server without domain name

Gelonida gelonida at gmail.com
Sat Jul 23 20:11:50 UTC 2011



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




More information about the nginx mailing list