Virtual Host examples for common setups

Base configuration

Additional features


Simple name-based vhosting


More complicated name-based vhosts


IP-based vhosts


Mixed name-/IP-based vhosts


Port-based vhosts


Using _default_ vhosts


Migrating a name-based vhost to an IP-based vhost


Using the ServerPath directive

  • Setup: