How to Migrate your Existing WordPress Website to DigitalOcean ?

In this tutorial we’ll share the easiest method to migrate your wordpress website from cpanel hosting to DigitalOcean SSD cloud server VPS, this can be easily done by using serverpilot (serverilot is kind of cpanel for vps).

Tutorial on Migrating Existing WordPress Website and Database to DigitalOcean Droplet Using Serverpilot

Step #1 : First Of all you have to create a droplet (Server) On DigitalOcean (watch below provided 15 sec video tutorial) to do so (make sure at least select 10$ droplet option otherwise wordpress will not work)

Step #4 : After that create new database in serverpilot for your new app (remember its username and password) & make sure to name it as existing database name, otherwise you’ll not be able to import database existing database into it.

Example : if your existing database named as devilhax-wp_1 then you’ll create new database using server pilot with the same name as devilhax-wp_1

Step # 6 : After that you’ll have to upload all existing wordpress files to digitalocean server (in public directory) using SFTP Client i Prefer WinSCP SFTP Client.

Step # 7 : after moving all existing wordpress files edit > wp-config.php “file” (the one present on DigitalOcean). change database password and username with the new username and password for database created with serverpilot in step #4. and also change mysql hostname as localhost

Step # 10 : Now you have to Change existing domain nameservers (Follow this tutorial). but before changing name servers login into your domain registrar “account” and check your zone file for any existing A record “if there is any existing A record” remove that A record and create a new one and point it to your droplet (server IP address)