• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Two domains with the same document root

R

root66

Guest
Hello,

i do have a php shop system with multi-client-support, where you can create and administrate multiple shops (with their own domain) from one backend.

The shop can be installed at one domain only. All other domains must point to the same document root directory.

Is it possible with Plesk 9.5 to create a new domain (no alias domain) with individual settings (i.e. email) and point it to an other plesk domain document root (without using redirection), or do I've to edit the apache vhost configuration manually?

Best regards,
root66
 
You need to edit httpd.include manually and each time when something is updated, you will need to recreate (do backup)
 
It is one of features on Plesk 10.x version - webspaces.
 
You need to edit httpd.include manually and each time when something is updated, you will need to recreate (do backup)

Is it possible to put the DocumentRoot line into the vhost.conf?
 
As far as I know, no, is not possible because that is inside already of a virtual host and will not work.
 
Back
Top