You are lookng to move your WordPress site to a new host or different server? The biggest risk when you do this is data loss and potential downtime. In this guide we will show you How to transfer wordpress website from one hosting to another hosting.
Step 1: Choose Your New WordPress Host
If your web host is slow even after opimizing WordPress speed and performance, then you need to move your site to the new host.
After buying your new hosting, do NOT install WordPress. First your new web host shuld be completely empty without any files or folders in your main directory.
- How to change WordPress language
- Best eCommerce WordPress Themes
- Best WordPress blog theme
- How to add a logo in WordPress
Step 2: Set Up plugin for Easy Migration
The first thing you need to do is to install plugin on the website that you want to move. There are a lot of free plugins, but Dupicator is the best free plugin hat we highly recommend. In this article we will walk you through how to use it to migrate your WordPress site to a new hosting provider with zero downtime.
Once you have installed and activated Duplicator, go to the Duplicator » Packages page in your WordPress admin area.
On this page click the ‘Create New’ button:
After that click on Next and follow the stepst to create package.
On this page your scan results need to chek out (everything should say “Good”), and then click the Build button.
The process of creating the package may take several minutes to complete.
Once the process is complete, you need to click on the ‘One click download’ link to download both files Installer and Archive.
Step 3: Import Your WordPress Site to Your New Host
The next step is to upload this files to your new web host. You can do this by connecting to your new web host using cpanel.
Using your cpanel, upload both installer.php file and your archive .zip file to the root directory of your website. This is usually /username/public_html/ folder.
Step 4: Creating MySQL Database on Your New Host
Before we run the installer on the new host we need to create a MySQL database on your new hosting account.
Go to your new hosting account’s cPanel dashboard, scroll down to Databases section and click on MySQL databases icon.
Here you will see field to create a new database. Enter a your database name, and click “Create Database” button.
Now you need to provide a username and password for your new user and click on the ‘Create a user’ button.
Next, you need to add user to the database. Select the database user you created from the dropdown menu next to user, then select database, and click on the add button.
Step 5: Begin the Duplicator Migration Process
Now you need to navigate to this address in your browser, replacing example.com with your domain name:
The installer will run a few tests and will show you ‘Pass’ next to archive and validation tests. Check the terms and conditions checkbox and continue by clicking on the next button.
Next step you need to click on the ‘Test Database’ button to make sure you entered correct information. If duplicator is able to connect, you will see a string starting with Pass. Otherwise, you will see the database connection error details. Click on the next button to continue.
Now duplcator will import your database from the archive zip into your new database.
On the next screen leave by default everuthing. Click next to continue.
Duplicator will run the final steps and will show you the login button.
Step 6: Update Your Domain
You will need the nameserver information from your new web host. This is usually a couple of URLs that look like this:
We will be showing you how to change DNS nameservers with GoDaddy. First you need to login to your Godaddy account and then click on Domains. After that click on the manage button next to the domain name you want to change.
Under ‘Additional Settings’ section, click on ‘Manage DNs’ to continue.
Now scroll down to the Name servers section and click on the change button.
First you need to switch the nameserver type dropdown from ‘Default’ to ‘Custom’ and fill in the your new hosting provider’s information.
Click on the save button to store your changes.
You have successfully changed the nameservers. DNS changes can take 4 – 48 hours to propagate for all users.