How to move cpanel hosting without root/WHM access
There are times when you get fed up with your hosting provider and decide to move on. Though many companies provide free transfer for new customers its often easy and fast to do the process yourself and have your website up in minimum possible time.
cPanel by default do not provide transfer of websites. Though its possible to create a full site backup there is no option provided for a full site restore. Many people suggest a transfer through WHM (for this you need root access) but, this is not recommended as different servers have different configuration and cPanel is not configured the same way everywhere.
Step 1 – Find a reliable hosting provider.
Before anything research on the provider. Read reviews, articles, talk to present customers etc. Ensure the new hosting is worth the change. Most companies provide offers and upgrades when you tell them you are moving out.
Step 2 – Login to the old cPanel account and Generate a full backup.
Step 3 – Download the full site backup to your system.
Full website backup(*tar.gz) includes public_html files and databases(*.sql).
Step 4 – Login to the new cPanel account and replace files.
Go to file manger.
Upload the the folder public_html from the backup and replace it in the home directory
Step 5 – Create database and user and link both.
Open MySQL Databases
Create a database and user.
Link both user and database with all privileges selected.
Step 6 – Import into database.
Select the database you have created and import the *.sql file from the full backup created earlier.
Step 7 -Replace the database name, user and password in config file.
Find your config file.
Config file locations for commonly used scripts.
|Coppermine Photo Gallery||/include/config.inc.php|
|Crafty Syntax Live Help||/config.php|
|phpFreeChat||(only if you have saved form input to a database)
|Trendy Site Builder||(not applicable)|
Edit the config file.
Find the database, user and password using find and replace them with the values you had created in Step 5
Step 8 – Replace the Name servers of the old host with the new ones.
It will take 24 to 48 hrs for the DNS to propagate.
Step 9- Load and check whether the domain is loading correctly.
Tip – If the website shows Default page or Page Under Construction page goto public_html and remove index.html.
Voila! You have successfully transferred your hosting.
If you got any comments or a better method feel free to put it down below.