Plesk

What is the Plesk Virtual Host Structure on Linux?

Question

What is the Plesk Virtual Host Structure on Linux?

Answer

By default, Plesk stores domain files using the path /var/www/vhosts/example.com/. This path is defined by HTTPD_VHOSTS_D in /etc/psa/psa.conf.

By default it creates the directories below:

Note: If it is the main subscription domain, it will store all the root directories of all domains and subdomains assigned, i.e. /var/www/vhosts/example.com/subdomain.example.com or /var/www/vhosts/example.com/addional.example.com.

The /httpdocs directory must have the owner:psaserv ownership. All other files and directories inside the /httpdocs directory must have the owner:psacln ownership.

 

Additional Information

Exit mobile version