Knowledge Base
MilesWeb / WordPress FAQ

Learn to stage a WordPress website using Softaculous in cPanel

Approx. read time : 4 min

This article will teach you how to stage a WordPress website by using Softaculous cPanel.

Why do you need a WordPress staging site?

New versions of WordPress themes, plugins and cores get released very frequently. Updating them every now and then cannot be a feasible task, and on a busy production website updating the plugins may not be a compatible option. Thus, it is always better to test them before publishing. The Softaculous installer in cPanel enables you to create a staging website of your live WordPress website in just a few steps.

Things to remember before staging a website

Remember that all themes and plugins are not compatible with creating a staging site.

Before everything else, we need to create a subdomain prior to creating a staging website in Softaculous. Let’s take an example: if your primary domain name is demoweb.com then you can create a staging.demoweb.com subdomain to use it as a testing environment.  You shall also take a backup of the live website before creating a staging website.

# Steps to staging the website

Here we are going to use mainsite.mileswebdemo.com as our live domain and staging.mileswebdemo.com as a copy of the live domain or the staging website.

Perform the following steps to do so:

1) Check if you have a sub-domain already created. If not, create one.

2) Login to your cPanel account and under Software/Services click on “Softaculous App Installer”.

3) Click on the “All Installations” icon present at the top of the right side corner. It will display all the scripts installed using Softaculous.

Softaculous

4) From the list, choose the WordPress installation that needs a staging site. Now click on the “Create Staging” button for the selected installation.

mainsite1

5) The “Create Staging” page gets displayed that contains live installation details and a form to enter the staging domain data such as Choose Protocol, Choose Domain (mention here the sub-domain that you have created earlier), In Directory (you can keep it blank) and the Database Name.

MilesWeb staging

6) Click on the “Create Staging” button. Wait for a few minutes. Once it is ready, you can see a message like an image below. Notice the same credentials of the live website on the staging website also.

Staging2

Now, if you browse the staging URL, you will see a website similar to the live website. You can also use the staging website to test new updates, develop a newer version or make any other changes to your live website.

# Making the staged website live

Perform the following steps to push the staged website to the live website domain :

1) Login to your cPanel account. Click on the “Softaculous App Installer” button present under Software/Service section.

2) On the right side of the top corner, click on “All Installations”  that shows all scripts installed through Softaculous.

pushsite1

3) Now click on the “Push to Live” icon present near the staging website.

staging3

4) On the “Push to Live,” you will get two options  Default and Custom.

(i) Default Push – It is selected by default. This option replaces all the files of your live installation with the files on the staging installation. Also, the database that is used by a live database gets erased and the database from your staging installation gets imported on it. If all the files are proper as per your needs then just click on the “Push to Live” button.

mainsite2

(ii) Custom Push: Click on the Customize tab. In the Customize tab, you can select different options to push the Files, push Full Database changes (including structural changes as well as rows in the tables), only push some of the Database Structure Changes, or just push Data Changes in Tables. This option is useful when you work with a sample database, or if a portion of the live site has been also been updated at the same time as the staging site. Now, click on the “Push to Live” button when everything is ready.

5) The time taken to push depends on the size of the installation of data. Once the changes get successfully pushed to the live site, you will get a Success message as below.

mainsite3

6) Verify on your live domain that all the changes that have been pushed from the staging site are updated.

You need to remove the staging site from Softaculous manually, it won’t get deleted on its own. If you want to test it further or make any changes, you can work on the same and repeat the steps to “Push to Live” when everything’s done.

Also Read :

How To Install WordPress Through Softaculous?

How To Restore WordPress Backup With Softaculous?

How To Backup WordPress Using Softaculous?

With an interest in doing something creative daily, Sonam works as a Digital Marketing Executive. She likes to write technical blogs related to web hosting, digital marketing, and other IT topics. She also likes to spend her leisure time on social media to find different strategies for client engagement.

Trusted By Thousands of Clients & Big Businesses

We highly appreciate the kind and stellar feedback we receive from our customers. Delivering the best is our goal! MilesWeb is rated Excellent out of 5 based on reviews. Read more reviews.

Excellent
Based on reviews
2 hours ago
Perfect and Valuable Server + ...
I am using MilesWeb Servers, The main thing which I getting are continuous support over everything w...
Gunjan Makwana
4 hours ago
Milesweb is superb Hosting pro...
Milesweb is superb Hosting provider ever, their Support team is amazing!!!...
Abhishek Singh
15 hours ago
Great support in great timing...
We need urgent assistance on changes in a primary domain on our client's Cpanel accounts and reached...
Riyaju Deen
21 hours ago
Best Website Hosting platform ...
I was new on MilesWeb. And needed help on multiple areas from setting up to getting started with cre...
Harshada
1 days ago
Very quick and helpful assista...
Very quick and helpful assistance. Support person listened properly and provided a nice solution....
Narendra
1 days ago
the team is very supportive th...
the team is very supportive though at times effort needs to be made to make understand the problem s...
Suree Sharma
1 days ago
I am using miles web for 3plus...
I am using miles web for 3plus years, very quick and perfect support by the team, they helped me man...
Sri Raghav
2 days ago
The service is good...
The service is good. They are answering with patience and doing the needful as soon as possible....
MR
2 days ago
Perfect and Valuable Server + ...
I am using MilesWeb Servers, The main thing which I getting are continuous support over everything w...
Gunjan Makwana
3 days ago
Very quick and helpful assista...
Very quick and helpful assistance. Support person listened properly and provided a nice solution....
Narendra
4 days ago
positively helped me with find...
positively helped me with finding insecure content on my website causing SSL to not work properly on...
Thaviraj Junglee
4 days ago
Exceptional support, Truly Pra...
I had opted for the basic wordpress hosting plan as I intended to experiment with various plug-ins. ...
Aseem Chandna