Staging and Temporary URL for Migrating Websites to HostWP.io

If you've recently created an account with HostWP.io, this guide aims to simplify migrating your existing WordPress site to your new hosting service with us.

This guide is tailor-made for you if you've your domain (e.g., "example.com") as a primary domain during your sign-up and haven't yet updated your Nameservers.

Step 1: Logging into Your cPanel Account

With the help of “Hosting Account Information” provided in your welcome email from HostWP.io, log into your cPanel account.

Once logged in, you'll see a dashboard. Find the “WordPress Manager” on the left-hand side menu.

Step 2: Installing WordPress on Your Account

Click "Install" to set up WordPress on your domain.

You'll see a “Software Setup” section asking where to install WordPress. By default, it picks your domain: example.com, and installs WordPress in the main public_html folder.

Fill out the “Site Settings” section according to your preference and click the "Install" button at the bottom of the page.

A successful installation will result in a confirmation message listing the details of your installed WordPress website.

Step 3: Accessing Your Website with a Temporary/Staging URL

Due to the domain sensitivity of open-source software like WordPress and the fact that Nameservers for example.com haven't pointed out yet, the website won’t be accessible.

However, a staging or temporary URL can act as a bypass.

You can get your temporary URL in two ways:

  1. hostname/~your_cpanel_username
  2. serverIP/~your_cpanel_username

 

You can retrieve your hostname from our Hosting Account Information email, and your server IP can be found on your cPanel dashboard.

In this example, the temporary URL would be:

jf17.hostwp.io/~mustii/

OR

66.94.111.213/~mustii/

After visiting the temporary URL, “jf17.hostwp.io/~mustii/”, we can see that WordPress has been installed but with broken parts.

That’s because WordPress is domain sensitive, and we didn’t point Nameservers yet on example.com

Step 4: Updating Your Domain in the Database Options

You need to replace URLs in the "options" database table.

Using the "WordPress Manager" tab on your cPanel dashboard, navigate to “View Database.”

From there, replace the two domain values with your temporary URL in the “options” table.

Step 5: Transferring Data from the Old Site to the New with WPvivid

Once you've replaced the URLs in the above database, visit your temporary URL and log in to WordPress using the previously set credentials.

Navigate to Plugins -> Add New and install and activate WPvivid.

Note: You can use any WordPress Migration plugin such as UpdraftPlus, All-in-one WP Migration, etc. However, we prefer WPvivid.

Navigate to “Key” and click “Generate”.

The key generation feature in the WPvivid Migration plugin is very handy. It automatically transfers all files and databases from one website to another without downloading and uploading backup files manually.

The next step is to install WPvivid on the source website. In our example, that’s a live website on example.com

After installing WPvivid on example.com, navigate to “Auto-Migration” and paste the key generated from the temporary URL website on HostWP.io

Hit “Save”, then “Clone then Transfer”.

This will start cloning the website and transferring the backup to the HostWP.io temporary URL website.

Step 6: Restoring Data and Completing Migration

After the data transfer is complete, start the restoration process in the WPvivid -> Backup & Restore tab of the temporary URL.

At the end of this process, all data from example.com will be present on your temporary URL.

To access the migrated site, use the login credentials from example.com, as previous local credentials are no longer valid.

Take a final look at the migrated website on a temporary URL.

Now, you need to update Nameservers for example.com to HostWP.io-provided nameservers (find them on the Hosting Account Information email).

Once done, replace the edited URLs in the database “options” table.

Old URL: https://jf17.hostwp.io/~mustii/

New URL: https://example.com

Now, example.com should start serving from HostWP.io once the DNS propagation has been completed.

Note: DNS may take up to 24 hours to propagate globally; usually, it takes a few minutes.

 

Alternatively, you can open a support ticket providing your old hosting credentials and our Migration expert team will do the migration for you.

Feel free to reach out if you need further assistance or encounter problems during the migration process.

 

~ Thank you for choosing HostWP.io.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Getting Started with HostWP.io

Creating an account and setting up your first WordPress website on HostWP.io is similar to any...

Connecting QUIC.cloud CDN with Your WordPress Website

At HostWP.io, our servers are powered by LiteSpeed Enterprise, offering robust features that...