Testing Server without domain name
António P. P. Almeida
appa at perusio.net
Sat Jul 23 12:17:13 UTC 2011
On 23 Jul 2011 13h07 WEST, christian.freisen at googlemail.com wrote:
> Hi There,
> at the moment I'm waiting for my Domain-Name (because of some
> problems this will last a few days).
> Now I wanna test nginx only with IP-Adress. This is no Problem for
> Default but how about sub-Domains? Is it possible to internally map
> 126.96.36.199/abrakadabra to abrakadabra.188.8.131.52? With domain-Name this
> seems to be no problem, but without?
Not sure I understand your question. But I run nginx on my dev
machines using only the loop device. Most of my stuff are drupal
sites. I run each site on a different port. That way the dev
environment gets easily mapped to the production environment by just
changing a few values of some key directives, like listen, root and
specifying a server_name.
More information about the nginx