Migrating wordpress site

Samurai-champloo

Regular Member
Joined
Jun 16, 2016
Messages
452
Reaction score
205
Hi, i can find tutorials on migrating wordpress site to a new host. But they are only talking half like only moving the hosting part but not domain part.

How to completely migrate the entire site, the domain and the site hosted on that domain to a new host without having any downtime?
 
Setup cloudflare > copy site to a new host > redirect domain to a new host
 
Domain part is very easy. You just need name servers from your new host provider, after you have that go to a website you bought your domain from, log in with your username and password and update nameservers for your domain.
 
- First, you have to change the registrant of your domain (if you want to do that) (eg. https://www.namecheap.com/support/k...175/83/general-domain-transfer-steps-and-tips)
* If you don't want to change the registrant of your domain, just change the name servers to point to the new hosting

- Second, make a backup of your wordpress website (the files + the database). For doing such I recommend the BackUpWordpress plugin (link: https://wordpress.org/plugins/backupwordpress/)
- Third, extract the .zip file (without the database) inside public_html of your new hosting (if using Cpanel).
- Fourth, create an empty database and a new user with password (with all the privileges) for the same database (using the MYSQL database wizard) from the cpanel of the new hosting (name them however you want)
- Fifth, open phpMyAdmin from the cPanel of your new hosting and IMPORT the old database into the newly created one.
- Last, open the wp-config.php from public_html and change the name of the database, the name of the user and the password.

Let us know once you do it :)
 
I use updraftplus, install in on your wordpress site and make a backup download them to your laptop. Now go to your new hosting and add your domain name.

you will need to change your host file in windows to point to the new wordpress site otherwise when you type in your domain it will go to the original site.

in the host file you put the I.P of the new servers then the url youtube will help you with that.

then on the new wordpress site install updraftplus then upload the 5 files you made before, once it's done point your new nameservers to your domain in your registrar.
Then change back your host file in windows this way you'll have no downtime as long as you have an overlap on both hosting

job done :)
 
To have no downtime, first move the files+database and only after that change the nameservers.
 
Back
Top