Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Specifically, I have two httpd.conf files:



How should I modify the /etc/init.d/apache2 script so that instances of Apache will be invoked for both configurations?

The apache2 script is currently standard/unmodified.

share|improve this question
I thought we can't use httpd.conf in apache2... – thefourtheye May 5 '13 at 14:54

1 Answer 1


alternatively, is it possible to solve your problem with different vhosts?

share|improve this answer
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. – theDefector Jul 5 '13 at 8:30
on the one hand i understand your concern about bit-rot and disappearing links. on the other hand i do not believe in content duplication and prefer to have one place for a piece of information where it can (possibly) receive future updates. i will turn my answer into a community wiki, so other people can copy over the information. – mnagel Jul 5 '13 at 8:45
Given that this is Ask Ubuntu, you should actually link to instead – Josip Rodin Jun 30 at 13:10

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.