Question

How to migrate wordpress website from shared hosting to LEMP droplet on Ubuntu 20.04

Connected Tutorial
This question is a follow-up to this tutorial:

Not a single tutorial available on

  1. Migration of a wordpress website from shared hosting to LEMP stack droplet on Ubuntu 20.04.

while existing on DO explain how to create / configure LEMP stack on Ubuntu 20.04 but no article correctly explains the process to manually upload wordpress file and data backup into a new wordpress installation in LEMP stack droplet.

Thanks


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.

We have a series of tutorials that cover the process of migrating from one Linux server to another which you can check here:

https://www.digitalocean.com/community/tutorial_series/how-to-migrate-to-a-new-linux-server

In general, depending on your site/application you will need to spin up a droplet that matches your current hosting provider environment or at least is suitable for your app/site needs (e.g running the same PHP version). Then you need to migrate your data (files, users, database and etc).

Another option is to use the All-in-One WP Migration plugin. The plugin can handle the migration process on your behalf.

https://wordpress.org/plugins/all-in-one-wp-migration/

This article also covers the process, although it is outdated:

https://www.digitalocean.com/community/tutorials/how-to-migrate-wordpress-from-shared-hosting-to-a-cloud-server-with-zero-downtime

The final step will be to test everything and make sure it is working fine and then switch the DNS settings and push your site live from DigitalOcean.

Hope that this helps! Regards, Alex

This comment has been deleted