WordPress

How to properly migrate a WordPress site

Intro

WordPress store URLs of the pages, articles, media and all other content in database as absolute paths.

This mean that you need to update URLs when the site address changes, the simple database copy may lead to errors or increased load time, because of increased number of load requests.

For a proper migration, you have to copy the files to the new location and migrate the database. To copy the files you can use the hosting panel File Manager (if available), FTP or SSH. For the database migration – check the instructions bellow. Continue reading How to properly migrate a WordPress site

WHM/cPanel

Change WHM/cPanel server IP address

If you migrated or clonned a WHM/cPanel server, changed or just added another IP address, you need to update the IP address(es).

If you need to add the new IP address by configuring it at system level, use the tool Add a New IP Address. You don’t need this if you already changed the IP at system level or you use NAT.

Next, go to Server Configuration, Basic WebHost Manager® Setup and put the new main IP in:
The IPv4 address (only one address) to use to set up shared IPv4 virtual hosts

You need to change  make WHM know that here was changes in the list of IP addresses. For that, use the option Rebuild the IP Address Pool.

Then go to Resellers, Manage Reseller’s Shared IP and if you have a reseller – change the main shared IP for each.

After that you will be able to set the new IP for a single (Change a Site’s IP Address) or multiple accounts (Change Multiple Sites’ IP Addresses).

To check that the operations you just did was applied, use the option Edit DNS Zone.

This should be enough.