How to Transfer WordPress Site to new host?
- Last Updated: Oct 18th, 2018
- Posted by: admin
- Category: WordPress Knowledge
Do you wish to know How to Transfer WordPress Site to new host? Then you must know what this complete process stands for: which is known as WordPress Migration in IT field. Here arrives the biggest risk which comes when we migrate WordPress site to a new server the complete data is lost and potential goes down the time which formally is known to us as (downtime). In this blog step by step guide is provided to you, we will show you migrating WordPress site to a new host with no downtime.
Steps to move WordPress Site to new host:-
Step 1: Select Your New WordPress Host
If you are stuck of a slow web host even after the optimization of WordPress site for speeding it up, then it is the time to move WordPress site to another host that can work with your growing traffic.
When you wish to look for a new WordPress hosting provider tool, it is important to choose the same very carefully, so you do not have to move it again at any time and at any cost.
Here is: who we suggest;
- For the reliable shared hosting server, we recommend you to move with the Bluehost. They are officially recommended by the WordPress.org.
- If you are looking for the cloud hosting or location-identifier providers, then we recommend you to check out Site domain WordPress Support. They have data centers and free support across three (3) different continents of the world.
- If you are looking for the dedicated server, then we recommend you to check out the InMotion Hosting server. They commercial provide class servers and their support is amazing.
After purchasing your new host, do not install the WordPress. We will do that in our later steps. Now, your new web host account should be empty entirely with no files or folders in your main directory or attributes.
Step 2: Setting Up Duplicator for Easy Migration
- First of all install and activate the free Duplicator plugin on the similar website that you want to move and you must know How to Install a Plugin in WordPress
- Duplicator is a free plugin that we always recommend to all.
- After you have installed and activated the Duplicator plugin in your si panel, then go to the Duplicator » Packages section in your WordPress admin area. Which we arrive in this blog step.
- Now, you need to press or click the Create New button in the top right corner.
- After this, press the Next button and do follow the steps to develop your package.
- Make sure that your scan results check out (everything should say “unique/good”), now press onto the Build button. This process may take several minutes to complete down the process, so leave the tab open as it works and starts further other tasks.
- If the process is completely done, then you need to press on both the Installer and the Archive button to download the package for your website. Thus you will require both the files.
- The archived file is the copy of your site, and the installed file will automatically installed/process for you is above.
Step 3: Import Your WordPress Site to New Host
Now you have downloaded both the archive and installer files in your site panel, the next step through this blog is to upload them to your new web host and servers. While setting your FTP client to connect your new web host, just keep in mind that your domain name points to your old web host.
Just make sure that your root directory is totally empty. If you have WordPress installed in your root directory, then you require deleting WordPress first.
Step 4: Change The Hosts File for Preventing the Downtime
After uploading both files to your new host, access the installer.php file in a browser.
The file can be accessed using a URL like given below:
But the main problem is this URL will take you to your old web host, and you will get a 404 error as your domain name is indicating to your old web host. For this, you must know how to fix 404 error in WordPress.
Generally, folks will tell you to change your domain nameservers and point to your new host. But this will result in your users seeing a broken site as you move it. We’ll show you how you can access your new site temporarily on your computer without affecting your old site. This can be done with a hosts file on your computer.
The hosts’ file maps WordPress domain names to particular IP addresses.
How to add an entry for your domain name in the hosts’ file?
The below steps will show how to point your new host, but only when using your computer. The changes will authorize you to access the files on your new host using your own domain name, but the rest of the world will, however, accessing your site from the old host.
- Firstly find the IP address of your new web hosting server. For finding this log into your cPanel dashboard and click on expand stats link in the left-hand sidebar. This will extend the sidebar displaying you information about the status of your server. The information you should copy is the Shared IP Address.
- In the next step, Windows users need to go to Programs » All Programs » Accessories, right click on Notepad and select Run as Administrator. A Windows UAC prompt will show, and click on Yes to launch Notepad with administrator privileges.
- On the Notepad screen, go to File » Open and then go to C:\Windows\System32\drivers\etc. Select the hosts’ file and open it.
- Mac users should open the Terminal app and enter this command to edit hosts file: sudo nano /private/etc/hosts
- For Windows and as well as Mac users enter the IP address you copied and then enter your domain name. Like: 192.168.1.22 www.example.com
Just Be sure that you replace the IP address with the one you copied from cPanel and example.com with your own domain name. Save all your changes and you can now access your files on the new host using your domain name on your computer.
Step 5: Begin the Duplicator Migration Process
For the Duplicator Migration Process Navigate to this address in your browser window, replacing example.com with your domain name:
If you have not earlier created a database on your new host, then create a database in cPanel. After you have created the database, enter the database information in the fields below and then click on the Test Connection button.
In case the installer fails to connect to your database, then check the values you entered above. After you have successfully connected to your database, scroll down for reading the warnings and notices and check the box that confirms you’ve read them. After then click the Run Deployment button.
The installer will now import your database. In step 2 of the installer, you’ll be asked to verify your old and new URL paths. Just make sure it’s accurate and click Run Update to update your URLs.
In the final step, you can complete the process and verify that everything is working perfectly by clicking the buttons in order.
Step 6: Update Your Domain
For updating your domain, switch your DNS nameservers. This assures that your users are taken to the new location of your website when they type your domain into their browsers.
If you registered your domain with your hosting provider, then it’s good to transfer the domain to the new host. If you used a domain registrar like Godaddy, Namecheap, etc, then update your nameservers.
You will require the nameserver information from your new web host. This is generally a couple of URLs that look like this:
Look for domain management area and then look for nameservers. If you need any help with updating your nameservers, you can ask your web hosting company.
First of all login to your Godaddy account and then click on the launch button next to domains.
On the next screen, tap on your domain name. You can also change the domain name of WordPress Site. You will see your domain information, along with your nameservers. Just click on the Manage link under the nameservers.
You will see a link to enter custom nameservers on the next screen. Tapping on the link will open a form where you can enter your custom DNS nameservers.
Save all your changes and you have successfully changed the nameservers. The changes can take 4 – 48 hours to propagate for all users.
As you have the same content on your old host and as well as the new host, your users wouldn’t view any difference. Your WordPress migration will be smoothly continuous with obvious no downtime.
For being on the safe side just wait to cancel your old hosting account up to 7 days after your migration.
While migrating a website to a new server the entire data is lost and potential goes down due to (downtime). We hope that the above steps helped you to move WordPress site to a new host with no downtime.
You can also talk to our WordPress Technical Support team in case of any assistance, dial + 1 888 614 0555(Toll-Free).