logo
. . .

How to Migrate a Website to Cyber Panel VPS

How to Migrate WordPress Site to CyberPanel Step by Step

How to Migrate a Website to Cyber Panel VPS, Welcome to our blog, where we discuss the steps to migrate your WordPress site to CyberPanel for free.

In an era where the cost of web hosting is constantly on the rise, migrating to CyberPanel becomes a compelling choice for those in search of a budget-friendly and reliable hosting solution. The best part? You can accomplish this migration without spending a dime!

In this blog post, we will walk you through a step-by-step guide on how to migrate your WordPress site to CyberPanel without incurring any costs. You’ll learn how to do it independently, and we’ll highlight the benefits of using CyberPanel as your web hosting control panel.

If you’re ready to elevate your website without breaking the bank, read on to discover how you can migrate your WordPress site to CyberPanel for free!

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

How to Migrate a Website to Cyber Panel VPS

In this tutorial, I’ll be migrating my site from Nexcess to CyberPanel, hosted on a Contabo Cloud VPS running Ubuntu 20.04 LTS. We’ll use a free plugin called All-in-One WP Migration. This tool can migrate themes, plugins, and folders, making it perfect for a free website migration.

Let’s dive into 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

First, log into your WordPress site that you want to migrate to CyberPanel. Install and activate the All-in-One WP Migration plugin.

Step 2: Export Your Website Files

In the WordPress admin dashboard, navigate to All-in-One WP Migration in the left menu. Click on “Export” and then “File” to save the export file on your computer. Wait for the download to finish.

Step 3: Add Website in CyberPanel and Install WordPress

Log into CyberPanel. Navigate to Websites > Create Website and fill in the details. Select “Default,” “Admin,” toggle off “Test Domain” (it’s a paid service), enter your email, and choose PHP version (I chose PHP 8.0). Check SSL, DKIM Support, and open_basedir Protection.

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

Step 4: Create Child Domain and Install WordPress

Create a staging environment for the root domain by setting up a subdomain. Navigate to Websites > Create New Domain and fill in the details.

Install WordPress for the child domain by going to Websites > List Domains > Manage > WP + LSCache. Fill in the necessary details.

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

To make the child domain live, use the server’s IP to create an A Record. In your domain registrar (in this tutorial, we’re using Namecheap), go to your domain settings. Under Nameservers, choose Namecheap BasicDNS. Then, go to the Advanced DNS tab and add an A Record with the following details:

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

No need to add a www host since we’re using a staging site. Wait a few minutes for DNS propagation.

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

Install and activate the All-in-One WP Migration plugin on the child domain. Increase the upload size if necessary by adjusting the following in PHP.ini:

  • upload_max_size: Should be greater than the import file size (e.g., if you have 100MB, make it 120MB or more)
  • max_file_uploads: Set to a larger number if you have a bigger website (100 is usually enough)
  • post_max_size: Should be greater than upload_max_size

Save changes and restart PHP.

Go back to the child domain WordPress site and start the import process. Upload the exported file and wait for the import to complete. Click “Finish” once the importation is done.

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 all of these files, then right-click copy. We’ll copy this to the public_html where our root website is located. Go back to the file manager and preview the domain to ensure you have properly copied the files from the child domain to the root domain.

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 navigate to Settings > General. Change the child domain to root domain, making sure to use HTTPS. Click save. Return to your CyberPanel and preview the root domain. Just go to Websites > List Website > Manage > Preview. Now it should redirect to the root domain.

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

Head back to Namecheap and go to Advanced DNS. Here, we’re still using an A Record from the Nexcess IP, so we will change this to our server IP address. Copy the Contabo IP address and paste it over the Nexcess IP address, then click save. Remove the test child domain. Now we are using our Contabo IP address. DNS propagation requires up to 24 hours to finish. Use https://www.whatsmydns.net/ to check if the DNS is propagating.

Check SSL Installation

While waiting, double-check if SSL is installed properly on your website. Use an SSL checker tool, input your domain name, and click submit. If you encounter any issues, use a free plugin called Really Simple SSL. It will save you time. Once confirmed, we will check if our website is properly pointed to our CyberPanel. Use a hosting checker tool to see if we are now using Contabo’s IP address. Input your domain and click Find Host.

Read More

Data Scientist Roadmap 2024: A Guide for Beginners

AI and Cybersecurity: Protecting Your Website from Threats

Top AI Tools for Website Optimization Paid & Free

Conclusion

In conclusion, we hope 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. Migration can be daunting, but with the right approach and patience, it can be smooth. 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 needed.

Self-hosting your WordPress website with CyberPanel is an excellent choice for those seeking a cost-effective and efficient way to manage their site. With its intuitive interface and robust features, CyberPanel makes hosting a website a breeze. If you have questions or face roadblocks, I’m one comment away.