Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have /etc/apache2 and i included my Fedora httpd.conf virtual host files and wanted to check the details. But i get this. How to get it working?

# httpd -S
No command 'httpd' found, did you mean:
 Command 'dhttpd' from package 'dhttpd' (universe)
 Command 'xttpd' from package 'xtide' (universe)
 Command 'thttpd' from package 'thttpd' (universe)
httpd: command not found
share|improve this question

1 Answer 1

up vote 4 down vote accepted

The apache controlling script on Ubuntu is apachectl, just use:

apachectl -S
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.