I needed to move a WordPress site to another server the other day to improve performance, so I thought I’d write down the process. Here’s how to move WordPress website using 7 steps that I follow every time:
  1. Access your domain manager and add an A Record to your DNS settings – I recommend ‘temp’. So, if your domain is example.com, you’ll add temp.example.com. To complete this step, you’ll need to know the IP address of the new server.
  2. Associate the new ‘temp’ version of your domain with the new server (may have to wait an hour or so for propagation to occur).
  3. Install WordPress on the new server to the ‘temp’ version of your domain
  4. Make a backup copy of your database (a SQL file)
  5. Upload the SQL file to the _db_backups folder on the new server (at the root level)
  6. Restore the database associated with the ‘temp’ version of your domain
  7. you may need to open your wp-config.php file and change the database references to match the newly restored database.

define(‘DB_NAME’, ‘your database name here’);

/** MySQL database username */

define(‘DB_USER’, ‘your database name here’);

/** MySQL database password */

define(‘DB_PASSWORD’, ‘your database password here’);

/** MySQL hostname */

define(‘DB_HOST’, ‘your database hostname here – it’s usually longer than the username’);

  1. Try your site at temp.example.com – if it works proceed. If not, you may have to call your hosting provider for assistance.
  2. Login to the DNS manager for your domain and change the A Record for the primary domain (example.com) to point the ‘@’ record to the new IP address.
  3. Delete the ‘temp’ record.
  4. Login to the Hosting Admin for your old server and remove example.com from the associated domains
  5. login to the Hosting Admin for the new server (you may have to wait an hour or so to do this step) and associate example.com with the server. That’s it – wait for your domain change to propogate – you may see weird stuff for a couple of hours – be patient.

If you need help implementing the concepts discussed within this blog post – as always you can reach out to us at marketing@aidantaylor.com. The SEO keyword for this post is: How to move wordpress website.
If you liked this post, please share this on LinkedIn, Google+, Facebook, or Twitter – see the buttons above or just below. It takes very little time, but rewards us for our effort.

Creative Commons License
How to Move WordPress Website to Another Server by John-Scott Dixon is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.