Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 got a strange problem, which I haven't encountered yet. When I change the DocumentRoot AND RESTART the server the change is not applied. It worked before, but suddenly it's not.

 DocumentRoot "F:/xampp/htdocs/www/pct/"

I'am also sure to edit the right file:

share|improve this question
up vote 1 down vote accepted

Are you sure that you are editing the DocumentRoot for the Virtual Host that you are using? Ensure that the DocumentRoot directive is under the Virtual Host you are currently using.

It should be something like:

<virtualhost *:80>
 DocumentRoot *****
 .....other stuffs....
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.