Migrating your Magento website to another server is relatively a simple task once you know how to do it of course. I have detailed the steps on how to do this below so you can use this post as a point of reference 🙂
- From the admin, go to Configuration -> Web -> and change the (Unsecure and Secure) fields to {{base_url}}.
- From the admin, go to System -> Tools -> Backups and click on the backup button. This will create a backup of your database.
- Make a copy your Magento root.
- Move all data over to the new server.
- Restore the database on the new host.
- If you have a different username, password or database name. You’ll need to update that as well. You can find the file in (‘magento_root/app/etc/local.xml’) and make the required changes.
- Navigate to your Magento root, and delete all of the files and folders in, (i.e. /var/www/magento/var) except for the .htaccess file.
Hope this helps someone 🙂