How to migrate your Magento store

Tips and Guides/ 20th Sep 2016/Will Cook-Martin

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!

1
Move your Magento files

move-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.

2
Move your Magento database

move-databases

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

3
Edit

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.
<dbname><![CDATA[MyDatabaseName]]></dbname>

Set Database User
Replace MyUserName with your MySQL username
<username><![CDATA[MyUserName]]></username>

Set Database Password
Replace MyPassword with your MySQL user’s password.
<password><![CDATA[MyPassword]]></password>

4
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 ns1.clook.net and ns2.clook.net

Will's our technical sales guy from the hills of Rossendale. A follower of Stoke City, father to Eddie, husband to Catherine and a fan of gadgets - oh and he's recently mastered the art of really slow DIY.
We have a very strong team here at Clook and we build on everyone's strengths and weaknesses, you have to be able to make a good brew too!

Chris James

Customer Login

Forgot Password? Cancel