You can migrate cPanel Linux Account from one server to another with the help of following command as root user.

Source Server

#grep Domain-Name /etc/userdomains
#/scripts/pkgacct Username
#mv /home/cpmove-Username.tar.gz /usr/local/apache/htdocs/ Or
#mv /home/cpmove-Username.tar.gz /home/Username/public_html/
#chmod 644 /usr/local/apache/htdocs/cpmove-Username.tar.gz Or
#chmod 644 /home/Username/public_html/cpmove-Username.tar.gz

Destination Server

#cd /home
#wget http://Server-Hostname/cpmove-Username.tar.gz Or
#wget http://Domain-Name/cpmove-Username.tar.gz
#/scripts/restorepkg Username

Note :: Domain-Name is the domain which you want to migrate. Username is the user under which account is hosted. And Server-Hostname is the host name of the server.

Error Message :: Error from domain wrapper: example.com is owned by another user.

1. Remove the domain name example.com from /var/cpanel/users/cpanel-username
2. Run /scripts/updateuserdomains as root user on the server because you changed the above file manually, this will create adjusted cache files
3. Remove the zone file /var/named/example.com.db if the file exists
4. Remove the virtualhost entry for domain example.com on /usr/local/apache/conf/httpd.conf
5. Remove the domain example.com from /etc/named.conf

Now try to add the domain once again in cPanel.

Note :: example.com is the domain name which you want to add via cPanel.

100% Customer Satisfaction