By hovokhc
How would i go about transferring my Magento store from Godaddy to Digital ocean?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
In order to get your Magento store moved between hosts, you first need to backup your database using a command like:
mysqldump -h HOST -u USER -p DATABASENAME > FILENAME.sql
Then, tar archive your the files in your Magento directory with:
tar -czif ARCHIVENAME.tar.gz
Download this archive locally, then upload it to your DigitalOcean server, and unarchive
tar -xzif ARCHIVENAME.tar.gz
Next adjust your settings in the app/etc/local.xml file to match your new server
The section of the file you’ll be adjusting looks like
<host><![CDATA[HOSTNAME]]></host><username><![CDATA[USER]]></username><password><![CDATA[PASSWORD]]></password><dbname><![CDATA[DATABASENAME]]></dbname>
Upload your MySQL backup to the new server, and then restore it with this command:
mysql -h HOST -u USER -p DATABASENAME < FILENAME.sql
The last step is to clear your Magento cache. Use Magento admin panel > System > Cache management or delete the contents of the var/cache and var/session folders in your Magento directory.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.