How to Move WordPress to a New Host
Although migrating your site to a new host may not be the most fun, it is fairly safe and simple to do, so long as you follow a few basic steps. There are lots of reasons to switch hosts — pricing, support, security, functionality — so be confident in knowing that this is a common occurrence.
Step #1 – Back it up.
Backing up all of your files is something that should be done on a regular basis. It helps with overall site security and keeps your data safe. It’s extra important to consider backing up your WordPress files before migrating to a new host. You want to use a file transfer protocol (FTP) to copy all files to your local computer. An FTP client like Filezilla should do the trick. Rarely will things go awry, but in case they do, you can rest easy knowing you have all of your files where you need them.
Step #2 – Create a new WordPress database.
These next few steps sound scarier than they are, so stay with us. You need to create what’s called a MySQL database. Hit up your control panel and goto MySQL databases and create a new database with a username and password. Grant All Privileges to the new user.
Step #3 – Edit the WordPress configuration file.
The WordPress configuration file [wp-config] needs to be edited to reflect your host change. Goto File Manager and find the domain you’re updating and the [wp-config] file. You’ll update this file with the new username and password you created in Step #2.
Step #4 – Import WordPress.
Log into phpMyAdmin and click on the Database you’d like to import. Choose your SQL-based file from the File to Import section. Click Go and call it a day.
Keep in mind that every web hosting company is at least slightly unique, so if you run into a snag, it may be worth contacting your new host for additional assistance.