Question
What is the Plesk Virtual Host Structure on Linux?
Answer
By default, Plesk stores domain files by the path /var/www/vhosts/example.com/
. The path is defined by HTTPD_VHOSTS_D in /etc/psa/psa.conf
.
By default it creates the directories below:
/var/www/vhosts/example.com/httpdocs/
– domain’s root directory (may be changed in the Domains > example.com > Hosting Settings);/var/www/vhosts/example.com/error_docs/
– directory containing default error documents/var/www/vhosts/example.com/logs/
– directory containing Apache, nginx, access, statistics FTP domain’s logs.
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
Administrator’s Guide: Virtual Host Structure (Linux)
Where web server configuration files for the domain are located?