Path of Document Root of a domain changes on each reconfiguration

Created:

2017-06-28 17:08:57 UTC

Modified:

2017-08-16 14:13:30 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Path of Document Root of a domain changes on each reconfiguration

Applicable to:

  • Plesk for Linux

Symptoms

1. Path of Document Root for a domain changes on each reconfiguration from /httpdocs to /httpsdocs: the "root" statement in the file /var/www/vhosts/system/example.com/conf/nginx.conf points to /httpsdocs instead of /httpdocs

2. Document Root is set to /httpdocs in Plesk > Tools & Settings > Domains > example.com > Hosting Settings > Document Root

3. Plesk was upgraded from older version where the Document root was changed from splitted location (http in /httpdocs and https in /httpsdocs) using Separate SSL/TLS and non-SSL/TLS content option.

Cause

Enabled compatibility mode for the legacy option "Separate SSL/TLS and non-SSL/TLS content"

Resolution

Disable the mode by doing the following:

Plesk > Tools & Settings > Domains > example.com > Hosting Settings > uncheck Run the website in compatibility mode for the legacy option "Separate SSL/TLS and non-SSL/TLS content

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