• 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.

Multiple domains under same hosting account/UID

T

Tony T

Guest
---------------------------------------------------------------
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Plesk 9.9.2 / Linux 2.6.27.29-0.1-default (suse) / x86-64

Hello,

I would like to add multiple domains (domain1.com, domain2.com,
domain3.com). Each domain needs a seperate document root. And all domains
need to have full (read/write) access to the main domain (domain1.com).

Domain1.com contains the CMS, upload directory, caching directories
etc. Domain2.com and domain3.com will use the CMS from domain1.com
(and share some directories using symlinks).

I've seen an option to add a subdomain, but I don't like to have a "domain2.domain1.com".

Ideally, what I'd like is to have the other domains be located under
/srv/www/vhosts/domain1.com/httpdocs/domains/. That way PHP's
open_basedir can be the same, and all files would be owned by a single
uid. (That also solves an issue I have with SuExec).


Is there a way to do this with Plesk? If not, what would you recommend me to do?

(I have full root access to the server and access to the admin account)

Thanks in advance.
 
This doesnt really help a lot but Plesk 10 can do this by default - if you have the option of upgrading that may solve your problem.
 
Back
Top