• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

document root plesk 8.2.1 change from httpdocs to subdirectory ?

S

sukram33

Guest
hi, is it possible to change the document root from httpdocs to another subdirectory ? i used confix during the last years and within confixx it has been very easy to change the document rot and now i am astonished not to find such a funktion within plesk, thank you very markus
 
Create Vhost

To change the DocumentRoot just create a file named vhost.conf in the "conf"-Directory of the domain and add your own DocumentRoot. Plesk includes the vhost by running this command:

/usr/local/psa/admin/sbin/websrvmng --reconfigure-vhost --vhost-name=yourdomain.com

and restart your Apache. A second DocumentRoot overwrites the first.

You can check this by looking at the httpd.include. There should appear the inclusion at the end of the file. This way you can also add RewriteRules and other Apache-configurations for a single domain.
 
Back
Top