Plesk for Windows
Plesk for Linux
- Plesk for Linux
- Plesk for Windows
Note: This feature is available starting from Plesk Obsidian. Update to the latest version to get this feature.
The following scenarios are supported:
Main domain (with its subdomains) can be moved to another subscription, becoming an additional domain on the target subscription. This is only possible if there are no additional domains on the subscription from which the main domain is moved. The original subscription will be removed, since it will have no domains/subdomains left in it.
Additional domain (with its subdomains) can be moved to another subscription, becoming an additional domain on the target subscription. The target subscription must have enough resources to accommodate the moved objects.
Additional domain (with its subdomains) can be moved to a new subscription, becoming the main domain on the new subscription. The new subscription will be created on the same service plan as the source subscription, from which the domain was moved.
Moving a domain via Plesk
In Plesk, go to Subscriptions > example.com and click Move domain.
Note: If the Move domain button is grayed out, point the mouse to this button to find out why.
Select an existing subscription from the list or create a new subscription for this domain. Click Move.
Note: Service plans of both the source and target subscriptions must allow the customer to manage all types of objects on the moved domain. For example, if the domain has a subdomain, then both the source and target subscriptions must allow the customer to manage domains and subdomains. Otherwise, the Move link will not be available.
Moving a domain via a command-line interface
Connect to the Plesk server via SSH and use the 'plesk bin subscription' utility:
to move main domain from one subscription to another.
# plesk bin subscription --merge source-example.com -webspace-name target-example.com
to move additional domain to another subscription:
# plesk bin site --move addon.domain -webspace-name example.net
to create a new subscription from an additional domain:
# plesk bin site --move addon.domain -login addon_user -passwd <password>
Workaround for Plesk Onyx
The following workaround can be used to move a website to the other domain of the same subscription:
Let us assume we are moving a
subdomain.example.com to a separate subscription.
In Plesk, Create a new subscription
example2.com in Subscriptions > Add Subscription.
Note: in Web Admin Edition to create a new subscription go under Plesk > Websites & Domains > Add Domain > Location of the website's files > Create a new webspace:
Copy your original website subdomain.example.com into
example2.com subscription via Domains > example.com > Website Copying.
Test the website on its new location by adding
example2.com into hosts file on the local computer.
Install the extension Site Import (If not installed yet) through Plesk > Extensions > search Site Import > Click Install
Go to Domains > example2.com > Mail Importing and then click Import mail messages
Migrate all mailboxes
- If domain subdomain.example.com is protected by Lets Encrypt SSL certificate do the following:
- Open certificates Domains > subdomain.example.com > SSL/TLS Certificates.
- Remove SSL/TLS certificate by checking certificate with name "Lets Encrypt subdomain.example.com" and pressing Remove button.
Remove the original website via Domains > subdomain.example.com > Remove subdomain.
example.com in Domains > example2.com > Hosting Settings.
- If it is required - secure domain example.com with Let's Encrypt certificate or 3rd party SSL/TLS certificate using this guide.