Migration Guide from Directadmin or Plesk to cPanel
- Category : cPanel Tutorials
- Posted on : Aug 04, 2022
- Views : 2,044
- By : HostSEO
Introduction
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.
Prerequisites
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.
Checklist
- 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 :
wget http://httpupdate.cpanel.net/cpanelsync/transfers_DEVEL/pkgacct/pkgacct-da
For Plesk :
wget http://httpupdate.cpanel.net/cpanelsync/transfers_DEVEL/pkgacct/pkgacct-pXa
B. Configure it so to make both of them executable
chmod +x updateuserdomains-universal
chmod +x pkgacct-*
C. Execute it
./updateuserdomains-universal
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.
For DirectAdmin
./pkgacct-da admin
For Plesk
./pkgacct-pXa admin
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 root@x.x.x.x:/home
Replace ”root@x.x.x.x” 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
cd /home
/scripts/restorepkg cpmove-alice.tar.gz
You’re practically done with the migration at this moment. You can delete the packages to free up some space.
Conclusion
Following these easy steps, you have completed the migration from DirectAdmin or Plesk to cPanel.
Categories
- 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 4
- SEO 42
- Server Administration 84
- SSL Installation 54
- Tips and Tricks 24
- VPS 3
- Web Hosting 44
- Website Security 22
- WHM questions 13
- WordPress 148
Subscribe Now
10,000 successful online businessmen like to have our content directly delivered to their inbox. Subscribe to our newsletter!Archive Calendar
Sat | Sun | Mon | Tue | Wed | Thu | Fri |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 | 31 |
Recent Articles
-
Posted on : Sep 17
-
Posted on : Sep 10
-
Posted on : Aug 04
-
Posted on : Apr 01
Tags
- ts
- myisam
- vpn
- sql
- process
- kill
- tweak
- server load
- attack
- ddos mitigation
- Knowledge
- layer 7
- ddos
- webmail
- DMARC
- Development
- nginx
- seo vpn
- Hosting Security
- wireguard
- innodb
- exim
- smtp relay
- smtp
- VPS Hosting
- cpulimit
- Plesk
- Comparison
- cpu
- encryption
- WHM
- xampp
- sysstat
- optimize
- cheap vpn
- php-fpm
- mariadb
- apache
- Small Business
- Error
- Networking
- VPS
- SSD Hosting
- Link Building
- centos
- DNS
- optimization
- ubuntu