The Plesk Directory Structure

The following directories are controlled by Plesk for your account and cannot be changed by you:










You may not see all these directories. Later version of Plesk have reduced the number created automatically.

The following list explains the meaning behind each directory:

>> bin/, etc/, lib/, pd/, tmp/, usr/, var/

Each of these directories forms part of the environment for the domain when you log onto the system using SSH, SFTP or SCP. All are controlled by the server and cannot be written to, except for tmp/, which can be accessed by all users/services on the system (has read-and-write permission for anyone). These are not important for day-to-day use by your account. In later version of Plesk, some may not be available.

>> anon_ftp/

This directory is where your anonymous FTP account is based (it is always there, regardless of whether your accounts supports it or not,
and whether or not it's enabled). Under this directory, pub/ can be used to put files into for downloading, while any uploaded files will go into incoming/.

>> conf/

This directory holds the basic configuration for your domain, needed by the web server. It can only be changed by Plesk itself.

>> cgi-bin/

This is the master cgi-bin for your website, and can be accessed from Any files run in a cgi-bin/ will be subject to the suEXEC security mechanism on the server. Each script must pass a number of security checks each time it's run.

>> error_docs/

This directory holds the default error documents for your site (the pages that are displayed on a 404 or Page Not Found error for example). There are a number of restrictions in this directory - you can only change the contents of the files. You cannot add new ones or delete the ones that are already there.

>> statistics/

This directory contains all error and access logs for your domain, as well as compiled statistics (webalizer stats), if enabled. Like conf/, you cannot access this directory directly - only though the Plesk Control Panel by using the Log Manager icon under each domain.

>> httpdocs/, httpsdocs/

These directories are where your main website files will be held. httpdocs/ is for the standard website ( and httpsdocs/ is for the secure site ( Note that SSL is not enabled by default, and will not work properly when enabled unless a genuine certificate is installed. Also, since 7.5 Reloaded, Plesk has the ability to use just one directory (httpdocs/) for
both secure and insecure sites. For most websites, you will only need to use the httpdocs/ directory.

>> subdomains/

If you create any sub-domains in Plesk, their files will be held under this directory, not under httpdocs/. Each sub-domain created has it's own directory (e.g. subdomains/test/ for, under which are the directories httpdocs/, conf/
and cgi-bin/. All three have the same purpose as those in the home directory, where subdomains/test/httpdocs/ contains all the files for and subdomains/test/cgi-bin/ is used for for

>> web_users/

If you want to create 'personal' spaces for friends, family, employees, etc., but don't want to let them directly access the website, or give them a sub-domain, you can set them up with their own Web User account.

Each Web User account will be stored under the web_users/ directory. For example, if you create the user 'username', their files will be held under web_users/username/, and they can access their space using http://www.domain.tld/~username/. (Web User accounts can only be accessed by using the ~ mark, as it tells the server to treat them as a Web User)

>> private/

    The final directory, private/, is used to store any files you want, and they can only be accessed by the master FTP account for the domain (i.e.
    if you create separate FTP accounts for each sub-domain, user, etc. they can't access the directory).

    They also cannot be accessed by any programs/scripts except CGI scripts running in the cgi-bin/ of the main website. If you want to back up important files or need a place to temporarily store/copy files, the private/ directory is a good place to do it.

Last update:
2014-11-02 02:25
Sherin George
Average rating:0 (0 Votes)

You cannot comment on this entry

Chuck Norris has counted to infinity. Twice.

Records in this category