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
> 220.127.116.11/abrakadabra to abrakadabra.18.104.22.168? 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