Virtual host structure in Plesk 10

Refers to:

  • Plesk 11.5 for Linux

Created:

2016-11-16 13:07:03 UTC

Modified:

2016-12-21 19:59:25 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Virtual host structure in Plesk 10

Information

The Virtual host structure was changed in Plesk 10 .

Prior to Plesk 10 each domain on the server used an isolated directory.

  • In Linux:

/var/www/vhosts/domain1.tld

/var/www/vhosts/domain2.tld

  • In Windows:

%plesk_vhosts%\\domain1.tld

%plesk_vhosts%\\domain2.tld

In previous versions each domain was placed into its own separate directory. This would create a number of issues if one customer owned several sites. For example, the customer would be forced to use different login credentials to manage each their websites. In addition it caused difficulties for migrated users who were used to storing multiple sites in a single directory.

Plesk 10 allows several websites to be placed in a single directory. Additional websites are placed into the domain directory of the subscription's primary domain. Plesk 10 allows users to choose any folder inside the directory of the primary domain for their additional websites.

  • In Linux:

/var/www/vhosts/domain1.tld/httpdocs - document root directory for the main website /var/www/vhosts/domain1.tld/domain2.tld - document root directory for an additional website on the subscription

  • In Windows:

%plesk_vhosts%\\domain1.tld\\httpdocs - document root directory for the main website %plesk_vhosts%\\domain1.tld\\domain2.tld - document root directory for an additional website on the subscription

This structure allows a single user to access to all of a customer's domains. Domains can be easily imported from different hosting panels, and the sites of a single customer can now share common files.

However, the directory vhosts\\domain2.tld still exists. It contains the service data of the domain configuration, log files, and statistics. In future versions, we plan to remove this directory and store the service data of any additional domains in the main domain.

If you require sites to be completely isolated from each other, you can use the old virtual host scheme by creating a separate subscription for each domain. In this case, both sites will be considered as primary domains, each with its own subscription and each placed into its own separate directory.

Have more questions? Submit a request
Please sign in to leave a comment.