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'm trying to set up a dynamic virtual host for the first time with apache. Is it possible for be to implement some sort of folder sorting system?

For example the first ten sites are in: /Vhosts/1/ The next ten in : /Vhosts/2/

And so on, in order to reduce indexing load and having 400 folders in one directory.

share|improve this question
up vote 2 down vote accepted

Yep, have a look at the examples in the mod_vhost_alias documentation.

share|improve this answer
Thank you, this'll help alot. – user81536 May 15 '11 at 23:43

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.