Tag Archives: virtual-host

Name-Based Virtual Hosts with Apache

So here is the situation:

  • you just bought a domain, namely spectacular.com, and you want to point it to you home server with a static IP, or VPS or whatever…
  • you want to serve web-pages with apache and want to have configurations that enable you to configure several sub-domain, just like sub1.spectacular.com and sub2.spectacular.com;
  • you are running Ubuntu or some Debian-based server.

Apache supports name-based virtual hosts. This nice feature of apache, lets you

Page optimized by WP Minify WordPress Plugin

Miscellaneous is Digg proof thanks to caching by WP Super Cache