Skip to main content
Drupal

Main navigation

  • Home
  • Serveis
  • Portfolio
  • Blog
  • Tutorials
  • Contacte
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Com es fa per...
  3. Administració de sistemes

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

By joan, 31 May, 2013

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 "mydomain.net"

  •   In /etc/nginx/sites-available/mydomain.net 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

 

Nginx
vhosts
Administració de sistemes
Desenvolupament web
  • Printer-friendly version

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

  • Redireccionar un domini a un compte d'un VPS d'OVH
  • Up
  • Canviar el port de ssh a Ispconfig

Book navigation

  • Administració de sistemes
    • Com instal·lar la darrera versió de Drush a Debian Wheezy
    • my.cnf : optimització de mysql drupalcèntrica
    • Redireccionar un domini a un compte d'un VPS d'OVH
    • Several sites development without available domains with Nginx, using IP, in a multisite/vhost environment
    • Canviar el port de ssh a Ispconfig
    • Server Monitoring with Munin on Debian 7 (Wheezy) with Nginx
    • URL netes a Drupal 8 amb Apache i IspConfig, en un servidor Debian 8
  • CiviCRM
  • Correu electrònic
  • Drupal
  • Moodle
  • Calaix de sastre
  • Dolibarr
RSS feed
Powered by Drupal