Migrating WordPress Websites Efficiently

Migrating a WordPress website to a new host or a new server might be a very daunting task for a lot of people, especially those who don’t have any experience in handling the technical side of websites. For a lot of people out there, it is easier to build a website from scratch than migrating an old one to a new host. Here are the five steps in order to migrate your WordPress website efficiently.

1. Create A Website Backup 

There’s a lot of options to back up your WordPress website. The best option on the market for WordPress backups is definitely Duplicator Pro. You can use any plugin that you prefer, Fortunately, most of the plugins available are free or offers a free counterpart. Just make sure that your website back upper creates an easy installer for easy unpacking. A lot of people recommends the duplicator plugin because of this feature.

2. Set Up Your New Host And Create New Database

After setting your backup, the next step to do is to make your new host ready. First thing you’d need to do is to add your domain to the new host. Go to your host’s cPanel and find the option where you can add your own domain.

Also in the cPanel, add a new database using the MySQL Database Wizard (the process may differ depending on your host menu). This will be the new home of your website. Take note of your username and password and make sure to give all privileges to your new account.

3. Upload Your Backup To The New Host

The process may once again differ depending on your hosting site’s menu. Find the file manager option and upload your WordPress website backup which you made earlier. If you used Duplicator, make sure to upload both the zip file and the installer.php. After uploading, your site is almost ready. However, the Internet will not be able to see your new server, not even you. Hop on to the next step to fix this.

4. Make Your New Host Available By Editing Your Hosts File

Your domain name might be already registered in your new hosting service, but it is still pointing out the old server where you keep your site. Because of this, your website in your new host is basically invisible. In order for your new domain to find your new host, you need to add your new IP host and add it your hosts file.

To do so, go to C:WindowsSystem32driversetc for Windows systems or type “sudo nano /etc/hosts” via App Launcher on Mac systems. The file that you need is the “hosts” file, which doesn’t have a file extension. All you have to do is to edit it through a text editor. Add your new host’s IP address to the list, and then add your domain name beside it. Basically, you need to add a line that looks like “11.23.43.23 yourdomainname.com”. You can find your new host’s IP address in the cPanel. Save the changes before exiting.

5. Install Your Backup And Redirect The Domain

The last step is installing the backup to your new server, which was uploaded earlier. Installation varies, depending on the backup plugin you used. If you used Duplicator, just fire up the install.php through your browser and follow on through the process. Once the installation is done, its time to redirect your domain name to your new server.

Go to your website’s account information in your new host. In the account details, you will find your DNS. Copy both your nameservers to your domain name registrar. After this step, it usually takes 48 hours for the changes to reflect.