Change default DocumentRoot in a CentOS/Plesk environment

Hi guys,

For the sake of knowing whether it’s possible or not, I would like to know how to change the default DocumentRoot setting with every new domain setup to a custom location without Plesk overwriting it every time I update domain settings within the admin panel.

So something like:

/var/www/vhosts/domain.tld/httpdocs/

would automatically become (when a new domain is setup within the admin panel):

/home/domain.ltd/public_html/

I’ve been used to (and been a great fan) of shorter absolute file paths, and cPanel is doing a great job there, but what about Plesk…

Possible?

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.