How to Transfer WordPress Blog from Old Hosting to New Hosting Server

0

It happens with almost everyone that when renewing a hosting, the charge is very high, so we buy the second company’s hosting which we get in a lot of money. But most bloggers have trouble how to transfer their WordPress blog to new hosting? Now you no longer need to worry because here you will be giving step by step information about how to transfer WordPress site from old hosting to new hosting. And the best thing about it is that you can migrate to new hosting at any time, without even having a 1-second website down.

When I migrated my blog to new hosting, this process was adopted in which my site was not closed even for a second. In the same way, I am going to tell you that whenever you transfer your blog from old hosting to new hosting, your blog should not be closed for a while and there will be no traffic loss of any kind.

Many people use different types of plugins to tell about hosting transfer, but do not understand blog transfer by the plugin, I think the easiest way is to use cPanel and phpMyAdmin without plugin Transfer the blog to new hosting.

Without needing to transfer to New Hosting Server, something important needs to be done-

Most people make small mistakes due to which when they migrate to the host, they sit down and down their blog for a while, whose impact falls on their traffic. Some people believe that the WordPress site should be transferred to the new hosting server at that time when there is very little traffic on their website, such as for Indian language blog from 2 am to 4 am

But I believe it is a bit different than when our site is not going down for a second during migration, then what difference does it make at all? According to me, you can always migrate your blog by changing your hosting, whether it is night time or day, even if thousands of visitors live on your blog at that time, no matter your readers will not make any difference Because your blog will not be closed for a moment.

So the first thing about this is that you have to open your domain account from where you purchased a domain such as Godaddy, Namecheap, Bigrock etc. And the name of the domain name server (DNS) change is to add name server add.

The first thing you need to do is change the name server and do it at least 1 hour before starting the hosting transfer if you do this job a day before the hosting transfer it will be best because sometimes The name server also takes 24 hours to correct or propagate.

Therefore, in order to change the DNS, I would recommend that you add the DNS of the new hosting server between 2 a.m. and 5 a.m. a day before that it will start working. In the meantime, your site will remain hosted only by hosting, just name server new hosting will be used in website loading. If the DNS is not updating quickly, your blog may be down at that time. Well, in 5-10 minutes the new name server works, but sometimes it takes 24 hours.

How to Transfer WordPress Blog to New Hosting Server?

Now you have to log in the cPanel of the old hosting and keep all your data in your computer after downloading it, but keep in mind that there will be a database backup file, do not have to open them, otherwise the files may be corrupted and uploading to new hosting Can show error during

So public_html has to keep both the database backup and SQL backup in by downloading it on your computer. But keep in mind that before placing the backup, there are many empty plugins and themes that have to be deleted and delete the cache plugin and deactivate the plugin by clearing the cache. Due to that, the file size of database backup can be very high.

If you do not know how to take a backup of WordPress database then I have given information in a different post about it so that you can read it before proceeding

Now I understand that you have downloaded your WordPress database and SQL database back to your computer. Now you have to upload this backup to a new hosting, which I am going forward.

Upload to WordPress Database New Hosting: –

step 1

First of all, login to your new hosting cPanel and open the file manager.

  1. Click Public_html.
  2. Click on Upload.

    1. After this, a new page will be opened in which there will be an option to upload a backup, click on the Select File button and the WordPress database backup was downloaded from the old hosting’s public_html file by selecting and selecting it.

 

 Now your backup upload will start, uploading will be complete in how much time it will depend on your file size and internet speed.

Step-2

After the complete upload, close the page from which you had uploaded the file and now click on Reload in the page with Public_html, after which the Zip file you uploaded will start showing.

 

  1. Click on your Zip file and select it.
  2. Now click on the Extract button.

 

Now your file extract will start, it may take some seconds according to file size when your backup file is successfully extracted, the screen of Extraction results will appear in this way, which is to click on the Close button –

Now, let’s click on Reload again, after which you will start showing all the files and delete the backup zip file from the public_html folder because now its no work. After this we have to create a new SQL database (DB) and SQL user to upload our SQL database backup, then we will be able to upload our SQL backup.

 

Create MYSQL Databases to New Server

step 1

Before uploading SQL Backup, we have to create a new DB, so let’s go to cPanel’s home page and click MySQL Databases.

Step-2

  1. New Database Please put anything but a mix of more than 3 characters.
  2. Now click on the Create Database button.

 

Now your database will be created, copy and paste the DB name into Notepad as it will need further.

  1. Copy and place the database name in Notepad.
  2. Click on the Go Back button.

 

Step-3

Now we have to create a Mysql user, come down a bit for this –

  1. Put anything in the Username as above.
  2. Click on Password Generator and use a good password. Keep this DB password in Notepad.
  3. Now click on the Create User button.

 

Now your MySQL username has also been created, copy it also in the notepad –

  1. Copy and paste the Mysql Username into Notepad.
  2. Click on the Go Back button.

 

Step-4

Now we need to connect our MySQL database to the username, then come to  Add User To Database.

  1. Select your SQL Username.
  2. Select your SQL Database.
  3. Then click on the Add button.

 

As soon as you click on the Add button, a new window will open in which all the privileges will be given –

  1. Click on ALL PRIVILEGES and select it.
  2. After that click on the Make Changes button and close this window.

 

Now you have connected them by creating MySQL database, User in the new hosting, now after that, we have to upload our SQL backup about which I am going forward.

Upload SQL Database Backup in New Hosting: –

step 1

Come to your cPanel home page and click on phpMyAdmin.

  1. Click on the database name that you just created.
  2. Click on Import.
  3. Click on Choose File and select your SQL backup file.
  4. The format in SQL keeps it.
  5. Then click on the GO button.

 

Now all your backups have been uploaded but nothing will work yet, so we have to change 4 things like DB Name (Database Name), DB Username, DB Password and Table Prefix. So let’s move forward and change them.

Step-2

Open the File Manager by going to your cPanel.

  1. Click on Public_html folder.
  2. Click wp-config.php and select it.
  3. Now Edit takes to open the file by clicking on.

 

  1. After the file is open, put DB Name which you saved in notepad.
  2. Copy and paste from DB User Notepad
  3. Copy and paste from DB Password Notepad

 

 

  1. After this, we have to check the Table Prefix which will be found at the bottom of the same file, although the prefix does not change with any user it is very important to check it, which is Mysql database backup’s table prefix. Paste it into it, if nothing is to be done before, then just click on the Save Changes button to save the wp-config.php file-

 

Now your WordPress blog has been successfully transferred to new hosting, as I told you above that the domain name server must be changed already, then you have to do it, now only one click work is left and after that, Your blog will start running from the new hosting.

So let’s do one last thing to complete the process. One thing and when everything is complete, go to permalink settings once to check your permalink structure, if not before, then do it on the first structure and save it by clicking on save, if it is the same Even once, click save changes.

Last step:

Login cPanel to your old hosting and go to Domain Manager or Addon domain and reassign or remove your domain.

 

Congratulation! Now you have changed the WordPress blog to new hosting from old hosting, but you would advise that unless you confirm that unless your blog is doing the right thing on this hosting for a couple of days, then by its old hosting Do not delete any files, it is best to delete all files on old hosting only after making a good confirmation.

So, friends, we transfer our WordPress website from the old hosting server to the new hosting server, if you have any problem understanding this information, then please comment and ask. If you want to receive similar information on your email address for free, then subscribe to the blog  And if you feel that this information of hosting migration is useful then tell your friends about it and help them too. Thanks!

LEAVE A REPLY

Please enter your comment!
Please enter your name here