How to create a staging or clone of the WordPress site from CyberPanel?

Sometime you may need to create a clone or staging site of your WordPress site to make changes and test them. CyberPanel allows to create staging or clone site easily.

In this article, I will tell you how you can create a staging or clone of your WordPress site from CyberPanel.

You can create a staging site from CyberPanel and after doing that you can merge it back to the Original or master site.

Always keep backup before doing anything. So if you lost anything you can restore. The process of creating a staging site is very easy to follow along to do so.

Create a Clone or create a Staging for your site:

Step 1: Log in to CyberPanel and Go to Manage Website

Create a clone or staging site in cyberpanel is very easy. I will write the steps below to do so.

The first thing to do is login to your cyberpaner using your credentials on port 8090.

Then go to the Websites->List Websites->Manage

 login to your cyberpaner using your credentials on port 8090

Step 2: Create a clone or Staging site

In the manage Dashboard, you can see the CLONE/STAGING button press that to process.

Create a clone or Staging site

Add the Domain name which you want to use as staging or clone.

Add the Domain name which you want to use as staging or clone

It will take some time and once staging is done it will show you this screen.

It will take some time and once staging is done it will show you this screen

Now you must have to set A records for the staging domain you create Like staging.yourdomain.com. Visit your DNS manager and add A record for this staging site. No need to add any other records. A record is enough for staging.

In cyberpanel got to Websites->List Child Domains you can check the staging site.

Push back, Copy or sync site to Master:

Once you did all changes to staging and now you want to sync the staging back with the master site CyberPanel allows to do this very easy to do so follow steps:

Go to the Websites-> List Child Domains:

Now on this page, you can see your staging site press the Manage button in front of your site.

you can see your staging site press the Manage button in front of your site

Now you are in the management dashboard of the staging site. You can see COPY/SYNC TO MASTER from here you can push back your staging to the original.

You can see COPY/SYNC TO MASTER from here you can push back your staging to the original.

Here you can chose the options:

  1. Copy complete Data
  2. Sync Database
  3. Copy Changed Files
Copy complete Data

Chose any option from them according to your requirement. Once the process of sync or coping is done now go back to your original site and check the changes if you have any cache plugin clear cache and then check the changes.

How to set up Google Drive Backup on CyberPanel?