Several sites development without available domains with Nginx, using IP, in a multisite/vhost environment

Do you need work in web development but project has not registered an IP yet? If you are using Nginx, and your server hosts several websites (vhosts) a way to do it could be this:

Note: this howto runs in a linux / debian7 server, and a fictitious domain ""

  •   In /etc/nginx/sites-available/ change port to listen, for example:

listen *81;

  • reload nginx configuration files:

service nginx reload

Then, you can get this web in this URL: MyServerIP:81 or MyServerDomain:81


Afegeix un nou comentari

Text pla

  • No es permet l'ús d'etiquetes HTML.
  • Les línies i paràgrafs es trenquen automàticament.
  • Les adreces web i de correu electrònic es transformen en enllaços automàticament.