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

Do you need to restart/reload Apache when adding a configuration file under /etc/httpd/conf.d?

I know that editing the httpd.conf need a restart or a reload but unsure if file placed in the conf.d need apache to get restarted.

Thanks for the help

EDIT: I was under the impression that addition to /conf.d would need a regular/graceful restart but several times configuration files I've added to that directory made an effect without having to restart. This is the reason that led me to ask this question.

share|improve this question
up vote 17 down vote accepted

Yes. conf.d files are included in Apache's configuration with a line like:

Include conf.d/*.conf

so changes are only noticed when the main configuration is reloaded. Note you can also use the 'graceful' restart (/etc/init.d/httpd graceful on some, apachectl graceful on others) to reload the configuration without dropping existing connections.

share|improve this answer
Absolutely correct. – Corey S. Aug 4 '09 at 7:33
yes, I was under the impression that it would work the same as the main configuration but I had my share of suspicion today so I decided to check out with you guys. – Adam Benayoun Aug 4 '09 at 8:09

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.