Hello friends,

As the ensim control panel and cpanel control panel having different directory structures we need to manually migrate subdomains from ensim to cpanel

Following is the procedure for Transfer :

1. First login to the ensim server from where you want to move .

2. Then go to subdomain directory for the domain you want to move: as

cd /home/virtual/domain.com/var/subdomain

3. Here you can see all the subdomains for this domain in the directory. Go
into each directory plus the html directory as

cd subdomainxx/html

4 Then zip up the files
tar -czvf ../../subdomainname.tar.gz *

do the same procedure for all subdomains

you have to go up 3 levels to find the files due to symbolic

cd ../../..

5. FTP the files to the new server

ftp newserver
mput *.tar.gz

6 On new server
Login to the domain’s cpanel account and create all the subdomains

7 Go to the directory where the files were ftp uploaded.
cd /home/admin

8 copy each file to the proper directory. You will need to know the admin
username for the primary domain. If the domain user is tuks123 and the
subdirectory is “forum” then you would copy the files like this:

mv forum.tar.gz /home/tuks123/www/forum/

9 After moving it to specific directory(sudomain) then unzip the files.

cd /home/tuks123/www/forum/

tar -zxvf forum.tar.gz

rm forum.tar.gz

10 at the last change the permission and ownership for all files in that directory as

chown tuks123:tuks123 * -R

Now finally subdomain get transfered from ensim to cpanel

enjoy…..