cPanel :: Move domains to separate accounts

These APIs are available for Installatron Plugin:
Installatron Plugin Automation API and CLI
Installatron Plugin Licensing API
Installatron Plugin Control Panel Integration API
ZappHost
Posts: 4
Joined: Mon Apr 04, 2016 3:17 am
Contact:

cPanel :: Move domains to separate accounts

Postby ZappHost » Sun Nov 05, 2017 7:08 am

Hello,

We're aware of the following method for moving a WordPress site to a new URL:

https://chriseggleston.com/how-to-migra ... tallatron/

However, our use case is a bit different:

We have a reseller with multiple domains (WordPress installations) hosted on their cPanel account. We would like to split those domains into separate cPanel accounts for better security and resource management, with minimal downtime, and our idea of doing so is along these lines:

Migration details:
- Both accounts on the same server
- Domain to move: domain.com
- Source user (reseller account): user1
- Target user (resold account): user2

Steps:
- Create a new cPanel account (user2) using a temporary domain name: 'domain-temp123.com'
- Sync all file/folder data from 'user1' to 'user2'
- Search and replace path references in the files on 'user2'
- Import the database without site/home URL changes
- Search and replace database path references
- Remove the addon domain entry from 'user1'
- Change the primary domain of 'user2' from 'domain-temp1.com' to 'domain.com'

Does Installatron support this type of local migration, or something similar? If the steps required can also be provided in command line examples that would be great so we can factor the process in our tools. Any suggestions are greatly welcomed, thank you!

Return to “Installatron Plugin”

Who is online

Users browsing this forum: No registered users and 2 guests