Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am running Ubuntu Maverick + Apache2.2 and I did some reading up on using mod_vhost_alias to serve/create subdomains on the fly.

But, when I try installing it through apt, all I can find is mod_vhost_hash_alias.

Is this the same thing? Where is all the documentation for it?

The following query of the apache website returns no useful information


share|improve this question
mod_vhost_hash_alias in an out of tree module for Apache's HTTPD server. It's used to host a really massive / large amount of virtual host on a server. With own Apache mod_vhost_alias, you will find many (most) sites on a common subdirectory: it will make it difficult to have a simple policy to distribute to file-servers: some will have more sites to hold. With mod_vhost_hash_alias, by hashing the hostname, web sites will be equally/uniformly distributed on the filesystem. It's used by, more – ydroneaud Apr 11 '13 at 10:14

Depends on your distribution, but, if it's Debian or Ubuntu, it's included in the default Apache package.

Just a2enmod vhost_alias and restart Apache.

share|improve this answer
Thank you!!!!!! – extramina Sep 30 '11 at 3:02

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.