- Category : cPanel Tutorials
- Posted on : Aug 04, 2022
- Views : 154
- By : HostSEO
This article contains information about migration from DirectAdmin and Plesk to the latest available cPanel version. These methods can also be used by upgrading your hardware to one of our newer dedicated servers or upgrading your OS to a newer version.
Note that we will use the root account for logging in, this is done for demonstration purpose only. You should use an account without privileges when your proceeding to transfer data between two servers as this is a better security practice in general.
- Make sure that the hardware on the destination server is greater if not equal to the source server hardware specifications. You can select different configurations from our Dedicated or Cloud solutions.
- Make sure you have included the cPanel license in your order.
- Make sure you have the same amount of IPv4 addresses on the destination server as the source server.
Step 1: Populate trueuserdomains on the source server
We will first build the list of accounts at /etc/ trueuserdomainson on the source server.
A. Download the package. This step will be different for each control panel.
For DirectAdmin :
For Plesk :
B. Configure it so to make both of them executable
chmod +x updateuserdomains-universal
chmod +x pkgacct-*
C. Execute it
This will then create a text file at /etc/trueuserdomains that contains a list of all the accounts that can be packaged.
Step 2: Package an account of your choice into a single file.
We will now package the accounts which we will migrate to our new server. This will be done per account. We will use account ”admin” as an example below.
This will then package the entire account into a single file.
This can take some time depending on the size of the account. You could run ”screen” before starting, to continue the process in case you disconnect from the server.
You can also change the partition, where the package will be created. For example:
./pkgacct-pXa admin /home
Step 3: Copy the packages to the new server
We will now transfer the created packages to the new cPanel server. We will run the following command on the current (source) server.
scp /home/cpmove-admin.tar.gz firstname.lastname@example.org:/home
Replace ”email@example.com” with the name of the root user and the IP of the destination server.
Step 4: Restoring the accounts
We will now log in to the destination (cPanel) server. And we will restore the accounts by running the following commands
You’re practically done with the migration at this moment. You can delete the packages to free up some space.
Following these easy steps, you have completed the migration from DirectAdmin or Plesk to cPanel.
- cPanel Question 47
- cPanel Software Management 29
- cPanel Tutorials 13
- Development 29
- Domain 13
- General 19
- Linux Helpline (Easy Guide) 156
- Marketing 47
- MySQL Question 13
- News 2
- PHP Configuration 14
- SEO 42
- SEO 4
- Server Administration 84
- SSL Installation 54
- Tips and Tricks 24
- VPS 3
- Web Hosting 44
- Website Security 22
- WHM questions 13
- WordPress 148
Subscribe Now10,000 successful online businessmen like to have our content directly delivered to their inbox. Subscribe to our newsletter!
Posted on : Sep 17
Posted on : Sep 10
Posted on : Aug 04
Posted on : Apr 01
- server load
- ddos mitigation
- layer 7
- seo vpn
- Hosting Security
- smtp relay
- VPS Hosting
- cheap vpn
- Small Business
- SSD Hosting
- Link Building