Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

please correct any of my statements if I'm wrong.

I've realized that VirtualHosts are loaded through httpd.conf line (exact path is individual)

Include conf/vhosts/*.conf

And each *.conf host is loaded in order given by filename


Is this good way to handle which site will appear on (single and only) IP address?

I mean, if I go to my server IP (, i will see VirtualHost defined by 0default.conf, is this right way how to do it?


share|improve this question
up vote 1 down vote accepted

That's the way I do it, except I use a slightly different prefix which is better when you list the folder IMO:

share|improve this answer

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.