Report this

What is the reason for this report?

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

Posted on October 12, 2021
Ash21

By Ash21

Ash

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

How to Install WordPress with LEMP on Ubuntu

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



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!

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.

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.