How can i migrate Magento to Digital Ocean?

Today i’m in a shared hosting, and want to migrate all site do here to a 8GB / 4 CPUs Droplet

Submit an answer

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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi @bedinthebox,

Your first step is to create the Droplet and install the needed services for Magento to work, that would be Apache, MySQL, PHP - a LAMP stack. You can see this tutorial on how to do that:

Once you have that you need to transfer your website’s files over to your new Droplet

Once you’ve uploaded your files via SFTP, you will also have to import your database. You could do that by using an SQL client like Table Plus or Workbench:

In either cases, once you are ready with the transfer, you will need to change your DNS so that your A record points to the new DigitalOcean server IP address. After the DNS change it can take up to 24 hours or so for the DNS cache to clear over the Globe.

Let me know if you have any questions!