Transfer files from old Bluehost server to my new Droplet

January 20, 2019 269 views
WordPress Ubuntu 18.04


I am new to Digital Ocean, learning as I go. I did the one click install of Wordpress on the Ubuntu 18.04 server. I've already backed up my previous site from where I had it on Bluehost. So I have my Database, wp-content folder, installer.php files, etc. I also reviewed the installation of LAMP, and made sure everything was there through the Terminal via SSH.

When I access my Droplet IP, I can now see the Hello World - Wordpress site. But now I am just stuck from here, how can I transfer all of my old files so that the site looks exactly the same as it did on the previous host?

Would this be through SFTP, or can I go about this? Please advice. Thank you, loving Digital Ocean so far!

1 Answer

Well, I think the problem is that you need to import the Database first.

The steps to move WP to DO:

  • Backup your files from BH
  • Backup your DB from BH
  • Copy these to DO
  • Decompress WP files to DO (Web) Droplet
  • Import WP Database to DO (MySQL if is not the same as Web) Droplet
  • Troubleshoot eventual PHP issues (missing modules etc.)
  • Make sure that DB Name, Username, Hostname from your wp-config.php file are the right ones with DO environment.

I am sure you missed one of these steps.

Have another answer? Share your knowledge.