How to move 70 websites from shared server to digital ocean droplets?

April 6, 2019 203 views
Apache

We have a large shared server with about, 70 websites. The websites are php based. Many use wordpress as well.

I want to start migrating all of the sites on to their own digital ocean.

I don't see an easy way to do this and it seems like it will be extremely time consuming and potentially errors-prone.

Seems like for a WordPress site I'd have to
create the database/users and import the database and SFTP all files. And do this over and over.

Just wondering if anyone has any tips or advice on this process. Anyway to make it smooth and more quick?

1 comment
  • If you have SSH access to the shared hosting environment you could create a small shell script that read an inventory from a CSV and processed each site.

    Of course there are a bunch of variables involved like what permission levels you have on the shared hosting via ssh, would the destination be a single droplet and/or a new droplet for each, etc...

1 Answer

For the WordPress ones, you can use updraft plus to back up the WordPress site.

Then bulk create your digitalocean wordpress droplets, and install updraft plus on each and restore. Migrating WordPress sites is very easy. Not sure about your php ones, someone else maybe able to help with them.

  • Thank you. I should've clarified. Our sites that use wordpress only use it in certain areas so none of the sites are full on wordpress. I'm guessing updraft plus is for when a site is completely wordpress.

Have another answer? Share your knowledge.