Green Clook

How to migrate your Magento store

Magento Guides

So you’ve made the decision to move your Magento store to a new hosting environment but you’re not sure how or you find the thought of doing so yourself quite daunting.

Depending upon your knowledge, it’s fairly easy to move a single Magento install. There are essentially three steps to this; download copies of your files and database, upload the files and database to your new hosting environment and finally link the database.

Whilst there are a number of ways that this can be achieved, the guide below focuses on how to migrate your Magento store using cPanel.

Did you know…

If you are moving your hosting services including any Magento sites to Clook, our migration experts will transfer your data for you in a seamless manner.

Best of all we don’t charge for it – our migration service is completely free!

Move your Magento files


Use FTP Software

In many cases, using FTP software is the simplest way to transfer your Magento files to a new web hosting account. There are two steps to this process

aConnect to the hosting account you are looking to migrate from and download the files to a local machine

bOnce the files have downloaded you simply upload them to your new hosting account’s main folder which is usually public_html, www or httpdocs.

Use cPanel

aUse cPanel’s file manager to compress all the files in your public_html folder and download them to a local machine.

bLogin to the cPanel on your new server and upload the zip file and then extract it.

Move your Magento database


aLogin to cPanel and export a copy of your database using phpMyAdmin

bLogin to cPanel on your new server and import the database you just downloaded again using phpMyAdmin


Either using cPanel’s file manager or your favourite FTP software, edit /app/etc/local.xml. Search for each of the following within the file and edit as follows:

Set Database Name
Replace MyDatabaseName with the name of your database.

Set Database User
Replace MyUserName with your MySQL username

Set Database Password
Replace MyPassword with your MySQL user’s password.

Point your domain to your server

To point your domain’s DNS to the new host you have to change the nameservers for your domain name to those of your new host.

The nameservers can be changed via your domain registrar.

For Clook customers, who have purchased or transferred a domain to us, this is a simple as logging into your client area, navigating to Domains > My Domains and clicking on the Manage button and setting the nameservers to and

About The Author

Will's our technical sales guy from the hills of Rossendale. In his spare time he can be found designing and building websites, or doing a spot of DIY!

Connect on Linkedin

Clook Logo

Get regular tips, tricks and updates!

Signup today for our awesome newsletter and recieve monthly emails with all sorts of helpful articles on hosting and web development.