Search Engine: Elastic

Article ID: 126565, created on Aug 15, 2015, last review on Aug 15, 2015

  • Applies to:
  • Plesk Automation 11.5


On attempt to migrate a Plesk subscription containing a subdomain higher than 3rd level (for example to Plesk Automation, the migration fails with the following output:

 Subscription ''
    + error: An error occurred, when restoring hosting settings:
    ¦ Failed deployment of domain
    + error: An error occurred, when restoring hosting settings:
    ¦ Execution of /usr/local/psa/admin/plib/api-cli/domain.php --create -webspace-name -do-not-apply-skeleton -notify false -guid 74f7466f-6593-48b2-b8ff-9abf7e843038 -creation-date 2015-08-14 -parent-domain-name -skip-plan -ignore-nonexistent-options failed with return code 1.
    ¦ Stderr is
    ¦ An error occurred during domain creation: unable to set domain name: Unable to create the domain because a DNS record pointing to the host already exists.
    + error: The following sites of subscription were not restored - they do not exist on target panel: ''


Such behaviour has been considered as a software issue #PMT-1984 in PA Migration Tools: it is impossible to migrate a subdomain higher than 3rd level from Plesk to PA. This issue is planned to be fixed in one of the future updates. You can track it's status in PA release notes:


In order to work around the issue migrate the subscription without such subdomain and recreate it after migration:

  1. Create a backup of the subdomain (website content, mail directories) which cannot be migrated
  2. Remove the subdomain from the subscription
  3. Migrate the subscription to PA
  4. Manually recreate the subdomain in PA
  5. Manually restore the content of the subdomain from the backup.

e0aff7830fa22f92062ee4db78133079 caea8340e2d186a540518d08602aa065 33a70544d00d562bbc5b17762c4ed2b3

Email subscription for changes to this article
Save as PDF