Welcome to our blog, where we discuss the steps to migrate the WordPress site to CyberPanel for free.

At a time when the cost of web hosting is constantly rising, migrating to CyberPanel is an attractive option for those looking for a budget-friendly and reliable hosting solution. And the best part is that you can do it for free!

In this blog post, we will provide you with a step-by-step guide on how to migrate your WordPress site to CyberPanel without incurring any costs. We will show you how to do it on your own and also highlight the benefits of using CyberPanel as your web hosting control panel.

If you’re ready to take your website to the next level without breaking the bank, then read on to learn more about how you can migrate your WordPress site to CyberPanel for free!

So, let’s get started and take your website to the next level!

YouTube Version

How to Migrate WordPress Site to CyberPanel

So in this tutorial, I’ll be my migrating my site from Nexcess to CyberPanel hosted on Contabo Cloud VPS running Ubuntu 20.04 LTS so we will be using a free plugin it’s called All-in-One WP Migration. It can migrate themes, plugins, and folders. This will be a great tool to migrate your website for free.

Let’s get on to the walk-through.

Prerequisites

  1. Running CyberPanel (Mine is hosted on Contabo Cloud VPS)
  2. Running WordPress website you want to migrate to CyberPanel.

Step 1: Access Your Website and Install-Activate All-in-One WP Migration

This is what the WordPress website looks like we want to migrate to CyberPanel. The website is hosted on Nexcess and domain is currently registered on Namecheap so we will use its Advanced DNS feature to add A Records.

WordPress Website to Migrate to CyberPanel Hosted on Contabo

First you need to log into your website you want to migrate to CyberPanel. We need to add a new plugin. Just search All-in-One WP Migration.

Just click install and activate.

Install and Activate All-in-One WP Migration


Step 2: Export your website files

In the left menu just click All-in-One WP Migration. Just click export File and save it on your computer. Wait for the download to finish.

We will import this file to a WordPress website in cyber panel.

Export Files from Nexcess

Step 3: Add website in CyberPanel and Install WordPress

Go to your CyberPanel.

We need to add a website so just click Websites > Create Website. Fill in the details.

Just choose Default, Admin, toggle off Test Domain (it’s a paid service) so just disable this. Enter your email and choose PHP version. I chose PHP 8.0.

For Additional Features check SSL, DKIM Support and open_basedir Protection.

Create Website and Install WordPress in CyberPanel

Next, install WordPress for the root domain. Just go to Websites > List Websites > Manage > WP + LSCache. Fill in the necessary details.

Install WordPress on Root Domain

Step 4: Create Child Domain and Install WordPress

Next we will create a staging environment for the root domain. We will create a subdomain or child domain in order to avoid long downtime of your website especially if you have big one.

Go to Website > Create New Domain > Fill in the details.


Create a staging Site With Subdomain

Create Child Domain for Staging

Next, install WordPress for the child domain. Just go to Websites > List Domains > Manage > WP + LSCache. Fill in the necessary details.

Install WordpPress on Child Domain

Step 5: Add A Record for Child Domain on Your Domain Registrar

Next we will make this  child domain live. We will use again this server’s IP to create an A Record.

So let’s head on to our domain registrar. In this tutorial I’m using Namecheap. So in your Namecheap dashboard go to your domain.

Beside Nameservers > Choose Namecheap BasicDNS. Then go to Advanced DNS tab. Add an A Record with the following details.

  • Type: A Record
  • Host: @
  • Value: <yourserverIPaddress>
  • TTL: Automatic.

There’s no need to add www host since we are using a staging site. Non-www is enough.

After adding these values, we’ll need to wait for a few minutes to let the DNS propagate.

Step 6: Install and Activate All-in-One WP Migration on Child Domain

Just like the root domain, we need to install and activate All-in-One WP Migration plugin. Just type the plugin name and install and activate.

Install and activate All-in-One WP Migration on child domain

Go to plugin settings and choose Import. But first we’ll need to increase the upload size before importing. Depending on your host, upload limit is only up to 2MB. So in order to upload bigger export files, we need to increase its capacity.

Now let’s head back to CyberPanel and locate PHP.ini. How to locate PHP.ini?

Find the following: upload_max_size, max_file_uploads, post_max_size

Values:

  • upload_max_size should be greater than the import file. If you have 100MB, make it 120MB or more.
  • max_file_uploads should be bigger if you have bigger website to migrate. 100 is enough.
  • post_max_size should be greater than upload_max_size

Increase Upload Size on PHP.ini

After changing the values, click Save Changes and Restart PHP.

Go back to your child domain WordPress website and start importing.  Let’s go back and let’s refresh. So now we can actually upload 200MB.

Check Upload Limit

Click import and choose the file that you have exported earlier.

Don’t close your window or the process will fail. Just click finish once the importation is done.

Start Importing

Step 7: Copy Files from Child Domain to Root Domain

Next we will copy this subdomain to the root domain. Let’s go back to our CyberPanel.

Go to Websites > List Domains > File Manager.

Manually select on all of these files then right click copy. We’ll copy this to the public_html where our root website is located.

Copy files form child domain to root domain

Go back to file manager and preview the domain if you have properly copied the files from child domain to root domain.

Check newly copied website

So we are now here on our newly imported WordPress website and the root domain redirects to our child domain. Follow next steps.

Step 8: Transfer Child Domain to Root Domain

Next we’ll need to push this child domain into the root domain. Go to your child domain and go to  Settings > General.

Change the child domain to root domain. Be sure to use https. Click save.

Change child domain to root domain

Go back to your CyberPanel and preview the root domain. Just go to Websites > List Website > Manage > Preview.

So now it redirects to the root domain. This domain is still hosted on Nexcess. So we’ll need to change the IP address of our domain on our domain registrar to point to our Contabo server.

Redirects to Root Domain

 

Step 9: Change A Record IP to use CyberPanel-Contabo IP

Go back to Namecheap and go to Advanced DNS. So here we’re still using A Record from the Nexcess IP so we will change this to our server IP address.

Just copy the Contabo IP address and paste it on the Nexcess IP address and click save.

Change IP address to your server IP address

Then remove the test child domain. Now we are using our Contabo IP address. DNS propagation requires 24 hours to finish propagating.

We will need this tool to check if our DNS is starting to propagate. Just go to https://www.whatsmydns.net/ and check the domain.

Check DNS Propagation

So the DNS is mostly finished propagating. Let’s check if SSL is properly installed.

In the meantime, we need to double-check if our SSL is installed installed properly on our website. We’re gonna use this SSL checker tool. Put your domain name and click submit.

Note: If you have trouble using SSL, just use a free plugin called Really Simple SSL. Trust me it will save you time.

Check SSL if properly installed

So it’s good! We have properly installed SSL on our website.

Next, we will check if our website is properly pointed to our CyberPanel. So we need to use this hosting checker tool to see if we are now using Contabo’s IP address. Just input your domain and click Find Host.

Check Hosting IP

So here right now we are using Contabo IP address. Now we have successfully migrated our WordPress site from Nexcess to CyberPanel!

Conclusion

In conclusion, we hope that this guide has been helpful in showing you the steps to migrate your WordPress site from Nexcess to self-hosted CyberPanel. By following these steps, you can have more control over your website’s hosting and customize it to your specific needs.

We understand that migration can be a daunting task, but with the right approach and a little patience, it can be a smooth process. Remember to back up your files and data, take your time to ensure everything is set up correctly, and don’t hesitate to reach out for help if you need it.

Overall, self-hosting your WordPress website with CyberPanel is an excellent choice for those looking for a cost-effective and efficient way to manage their website. With its intuitive interface and robust features, CyberPanel makes hosting a website a breeze.

If you have questions or facing roadblocks, I’m one comment away.

Leave a Reply

Your email address will not be published. Required fields are marked *