Migrating from shared hosting to droplet

Hello, I couldn’t find a tutorial on this but I am at a point where I want to transfer from shared hosting to a basic droplet on Digital Ocean. I am using TMD Hosting shared cPanel hosting and would like to know how to properly migrate on to the droplet swiftly and with minimal downtime and to have the same setup using cPanel again. This includes, website files (quite a few WordPress websites), databases and email accounts. Any and help is deeply appreciated.

Show comments

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.

Hi @p4trk,

When talking about migrations, before you start migrating your websites you’ll need to configure everything else.

In this case, you first need to create your Droplet and configure it so that it can hosts websites. You mentioned you want a cPanel Droplet to be used again. DigitalOcean have pre-ready droplets for such cases. There is one for cPanel as well:

It creates a Droplet with cPanel reay to go, on the fly. So first you’ll need to create such a droplet.

Next thing I need to mention is that cPanel’s license is free 15 days. This means that after 15 days, you’ll need to acquire said license directly from cPanel as they are a third-party service provider. You can check that here:

Now, you are ready with the setup.

To migrate your websites there are a few options which you can take. The first and easiest is if you have root access to your server as cPanel has a tool to connect between two cPanel servers/droplets and migrate websites from one to another without any downtime.

Given that you are using a Shared Server I would assume you don’t have root access. In such case, what you’ll need to do is, create the Websites on your new cPanel droplet with DigitalOcean and use SSH or Ftp to migrate the websites over. There are options is cPanel with which you can create full cPanel backups to move to other servers. I’ll recommend using that option.

Hello there,

We do have an article that covers the process, although it is with deprecated status, however, you can check it here:

You can use the WP All in One plugin or Duplicator to migrate all of your WordPress websites.

If you have to move some of the data manually you can do that via ssh using scp or rsync. Another option is to use an FTP client like FileZilla

Hope that this helps!

This comment has been deleted