Posted at October 23, 2013 at 3:26 pm
WordPress is the most common content management system around today. There are millions of websites using this platform, and thousands more are being made every day. WordPress has made creating, running and managing a website extremely easy. When you’re moving a WordPress website, however, it is important to do it properly or you could experience downtime or even lose data. The following steps will make switching hosts for your WordPress site quick and easy.
The following steps will move your entire site including files, themes, content, comments, plugins and everything else you’ve created. It should be completely transparent to visitors to your site, and once completed, your site should function perfectly without any adjustments.
What You’ll Need
Before you get started, you’ll need to make sure you have a few things ready. Take a moment to double check to make sure the following things are available on your computer:
Step 1: Downloading Your Existing Site
The first thing you’re going to want to do is download your entire WordPress site. This includes all the files for your site, as well as the database(s). The following steps will walk you through how to safely download your existing site:
You now have your entire site downloaded to your computer. It is important to note that any comments made on your site from this point until you are live on your new host will be lost, so make sure you move quickly to reduce or eliminate any potential customer impact. Of course, if you make any posts to your site at this time, they will be lost as well, but that is typically not a concern unless you have other people publishing content to your site.
Step 2: Setting Up your Site on the New Host
It is now time to move all the files and databases from your computer onto the new web host. This process is fairly simple and basically just the opposite of the steps in the first section of this page.
Your site is now live on the new web host. If, however, someone visits your site, they will still be looking at the old host. This is because the DNS records of the Internet are directing traffic to that site. The next step is to get that updated so people will be routed to your new host.
Step 3: Update NameServers
Find out where your domain is registered, and log into your account there (this could be somewhere like goDaddy or NamesCheap or any other domain registrar). Once logged in, locate the settings for the names servers for your site. If you can’t find them, contact customer support or do a simple search on their site. Once located, you simply want to change the name servers to the ones provided by your new host. Typically there will be two name servers, and they will be something like NS1.newhostcompany.com and NS2.newhostcompany.com. Enter them in, and hit save.
Once you hit save, the domain registrar has to update the DNS records, which can take some time. In most cases, everything will be updated within a couple hours. It can, however, take up to 48 hours for this to be completed. To be safe, don’t cancel your old web hosting account for at least three days after you’ve changed your name servers.