Article ID: 8405, created on Apr 7, 2010, last review on May 11, 2014

  • Applies to:
  • Operations Automation

Symptoms

Customer subscribed to service template with IIS physical hosting and Sitebuilder services. They logged into customer control panel and created the first domain customer.com with IIS hosting. During the first domain provisioning the customer chose to create domain directly in the root folder '/wwwroot' in their webspace. Customer also created Sitebuilder site for the first domain.

Later customer went to their CP again to create the second domain with IIS hosting. They selected existing webspace (which already has domain customer.com created earlier) and selected desired location for the second domain.

However, it appears that POA does not allow to provision the second domain into the same webspace in addition to already created domain, the following error messages appear in customer CP:
Invalid input:

Incorrect or empty field value(s). Please retype info in the highlighted fields.

and
Contents of document root will be deleted after publishing site customer.com via Parallels Plesk Sitebuilder. Please, change location for site customer.com to some subdirectory inside of /wwwroot.

Cause

The reason of problem is that customer created the first domain customer.com directly in the folder '/wwwroot' in webspace (instead of putting it into a subfolder) and created Sitebuilder site for it.

In this case POA cannot create the second domain in subfolder in the same webspace without removing content of the first domain. That is why error message appears which says:
Contents of document root will be deleted after publishing site customer.com  via Parallels Plesk Sitebuilder. Please, change location for site customer.com to some subdirectory inside of /wwwroot.

This message says exactly that the first domain being put put in the folder '/wwwroot' does not allow to create another domain in the same webspace without relocating the first domain.

Resolution

The only solution for this problem in current implementation is to remove hosting for the first domain customer.com and re-create it from the scratch in some subfolder in the webspace, not directly in the folder '/wwwroot'. Then it will be possible to create another domains in the webspace and put their content to subfolders in the webspace as well. Of course, as a result of this operation all existing data of the first domain customer.com will be removed and it will be needed to re-publish them anew.

So, if customer want to have more than one domain hosted in the same webspace then all domains should be located in own subfolders in the webspace root folder like shown below, in this case domains will not affect each other:
  • /wwwroot   <- webspace root folder, do not put domains there
    • /wwwroot/domain1.com   <- instead, create subfolder for each domain in webspace root folder
    • /wwwroot/domain2.com
    • /wwwroot/domain3.com

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF