Applicable to:
- Plesk for 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:
-
/var/www/vhosts/example.com/httpdocs/
- domain's root directory (may be changed in Plesk at 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.
Comments
0 comments
Please sign in to leave a comment.