Super User is a question and answer site for computer enthusiasts and power users. 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

My virtual hosts lines:

<VirtualHost *:80>
    DocumentRoot /www/docs/
    ErrorLog logs/
    CustomLog logs/ common

And when I apache restart (sudo apachectl -k stop) get this error:

Warning: DocumentRoot [/www/docs/] does not exist

I've checked some ways:

All files and directories permissions is OK, everything 755. I think, maybe this error about SeLinux and disable it. But not working. Still same error.

How can I fix this problem?

share|improve this question
The directory /www/docs/ definitely exists? – pjc50 Nov 5 '13 at 11:50
Not exist. Created this directory by manuel but same error. – Karmacoma Nov 5 '13 at 11:56

You have to escape the . symbol. Try this instead:

DocumentRoot /www/docs/example\.com
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .