Restarting Apache shows warning: DocumentRoot does not exist

Refers to:

  • Plesk 12.5 for Linux
  • Plesk 11.0 for Linux
  • Plesk 11.5 for Linux
  • Plesk 12.0 for Linux

Created:

2016-11-16 13:02:31 UTC

Modified:

2016-12-21 19:49:02 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Restarting Apache shows warning: DocumentRoot does not exist

Symptoms

When restarting httpd service, the following warnings appear:

# service httpd restart
httpd: [ OK ]
httpd: Warning: DocumentRoot [/var/www/vhosts/domain.tld/httpdocs/pms52ru] does not exist
Warning: DocumentRoot [/var/www/vhosts/domain.tld/httpdocs/qwe] does not exist
Warning: DocumentRoot [/var/www/vhosts/domain.tld/httpdocs/rty] does not exist
[ OK ]

Cause

There are domains in Plesk that use mentioned directory as vhost location. But the mentioned directories are not presented on the server physically.

Resolution

There are two ways:

  • Correct the site location in Plesk for mentioned in warning domains in Websites & Domains > Hosting Settings .

  • Create mentioned directories, for example:

    # mkdir -p /var/www/vhosts/domain.tld/httpdocs/qwe

For Plesk 12.5 please refer to KB article #213401829

Have more questions? Submit a request
Please sign in to leave a comment.