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 have to configure apache webserver on our production server to host two websites and enable SSL for one website. I am confused with the documentation found on the web. I am mainly confused between httpd.conf, apache2.conf and sites-available. for example, httpd.conf on my machine is empty.

Is there any good documentation for apache2 that explains all the capabilities of apache with an example?

Thank you.

share|improve this question
up vote 2 down vote accepted

All those things you just mentioned are just conventions and choices that the distribution chose to use. Not Apache. Which is why you won't find documentation on it on From the sounds of it you're using Debian or some Debian based distro like Ubuntu.

If you look in the apache2.conf file you'll see that there are some include statements which causes it to source the other directories for additional configuration directives.

What you will find on is all the directives that are in those configuration files so I think you're already looking in the correct place. There are some books available that may help you if you find that the documentation on the web is hard to follow as documentation can be be a bit dry and lacks some of the conversational bits to string it all together.

share|improve this answer
@3dinfuence I am using Ubuntu 9.10. Are you aware of any good books on apache for ubuntu? – Boolean Mar 10 '10 at 3:48
I've never read any Apache books so I wouldn't feel comfortable making any suggestions. But Apache is a pretty big subject. There are a lot of modules some of which have their own books such as mod_rewrite and mod_security. But have a look on Amazon and maybe someone else will jump in and recommend some for you. – 3dinfluence Mar 10 '10 at 3:57
Here's a good place to start if you're using Ubuntu. and – 3dinfluence Mar 10 '10 at 4:00

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.