• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Question to create domains

Azurel

Silver Pleskian
Hi. I not understand the domain structur of plesk. Thats not help me; http://download1.parallels.com/Plesk/Doc/en-US/online/plesk-administrator-guide/68695.htm

With first start of plesk I have create a domain "domainA.tld".
Thats create this path for my custom content: /var/www/vhosts/domainA.tld/httpdocs

Now I want add a second domain "domainB.tld". And I set custom file folder again to "httpdocs".
Its create this path: /var/www/vhosts/domainB.tld without "httpdocs".

Call www.domainB.tld show content from www.domainA.tld.
In Plesk I see that "httpdocs"(for domainB.tld) means this path "/var/www/vhosts/domainA.tld/httpdocs".

I think this working so:
domainA.tld => /var/www/vhosts/domainA.tld/httpdocs
domainB.tld => /var/www/vhosts/domainB.tld/httpdocs
domainC.tld => /var/www/vhosts/domainC.tld/httpdocs
but that does not make it.

What is here my mistake?

EDIT: Why I can't delete domainA?
 
Last edited:
If you add a new domain to a subscription, Plesk creates a new vhost folder which contains all the config files for the domain. The actual site files (httdocs) are hosted in a folder under the first domain. If you set the site files folder of the new domain to httdocs, it will use the original domains httdocs folder. Make sure you set a different custom folder for each different domain.

To make things neater from a server locations perspective, you may be better off creating a new subscription for each domain. This way, all files relating to each domain will be stored in their own /var/www/vhost folder.

I guess you can't delete domainA because domainB is currently using the httdocs folder of domainA. You won't get this problem if you create a different subscription for each domain.
 
I found the solution. I must click on the "Webspaces" tab and now click on "Add Webspace". So each domain have "httpdocs".
 
Back
Top