Manual Migration Documentation
Manual Migration Documentation
Any other similar services are not supported, and would require customization and or custom
conversions to work in our environment.
We recommend lowering the DNS TTL (Time to Live) on all domains, prior to any zone changes. This
will force updates to happen quickly. Lowering it a few days before the transfer would be ideal as
many servers default to a twenty-four hour TTL.
Create a new account on your cPanel/WHM server that matches the domain, username, and password
as your current setup. (you most certainly want things to remain the same as much as possible) - Here is
some documentation on accomplishing this: http://docs.cpanel.net/twiki/bin/view/AllDocumentation/
WHMDocs/CreateAccount
You will need to migrate files/folders into the appropriate locations on the cPanel environment for them
to operate properly. Below you will find how our user directories are mapped and what they are for,
please note this only includes the essential files/folders/databases that most people need on transfer:
/home/user/public_html
This directory stores all of your web files, folders, and content. You will need to move all web
data that you want visible on the internet into this directory. Ownership of the files and folder must be
owned by the user of the account, and permissions of folders must be 755, while files are 644. On other
systems you may be used to this folder being equal to www or vhost.
/home/user/mail
This directory stores all email files for every email account under this 'cPanel account',
including addon/parked/sub domains. Below is an example structure of /home/user/mail:
You will notice that the above image structure is that of a maildir structure separated into folders. Each
domain/addon domain will have it's own folder here. cpdomain.com is the domain on this account so
the email accounts under this domain will be in this folder;
cpemail is the email account that is existing currently, and within this folder holds the contents and
folders of this particular email account;
If your mail happens to be in an mbox format, you can place the files in the appropriate locations above
and then run /scripts/convert2maildir and it will convert the mbox formatted email accounts in maildir.
Please note that you will more than likely have to create the email account in cPanel and then import
the mbox file(s) inside of the created folder.
/home/user/tmp
This directory stores the temporary files for the account, as well as bandwidth and web
statistics. You may want to bring over awstats data, an example directory would be: /home/user/tmp/
awstats we format this data into awstats files. The same for webalizer: /home/user/tmp/webalizer and
so forth.
/home/user/etc
This directory stores the email account passwd, shadow, and quota files for existing email
accounts. The example format would be /home/user/etc/cpdomain.com/passwd and so forth. These look
just like the system passwd, shadow, and quota files.
/home/user/ssl
This directory holds the SSL certificates associated with the domains on the cPanel account,
copy any certificates associated with the domains on this account into these directories an extra step
is needed after they are moved here, you will need to activate the SSL in the cPanel interface (http://
docs.cpanel.net/twiki/bin/view/AllDocumentation/CpanelDocs/SslTlsManager);
/var/lib/pgsql
This is the location of the pgsql databases, you will need to use the postgres dump tool and then
restore it on cPanel. Just like MySQL, you will need to create the database in cPanel first.
The first thing we recommend is spot checking some of the content you have transferred to
ensure it is working as expected in the new environment and that you are not missing any modules and/
or incorrect credentials.
Once you have migrated all data over to match our file structure and ensured integrity, you may
go ahead and update your domainss name servers to the new ones on your cPanel server. You may also
choose to edit the records on the old name server to point to your new cPanel server so all content is
directed to the new server.
Appendix
System Requirements -
http://cpanel.net/products/cpanelwhm/system-requirements.html
If your not aware of what cPanel requires, you can refer to this link which details the supporter
operating systems and structures.