WordPress – How to create a staging area using Softaculous

WordPress/ 18th Dec 2018/Will Cook-Martin

Let’s be honest, we’ve all done it. Updated a plugin, code, or some element of WordPress and seen the dreaded WordPress white screen of death 🙂

Even if you were wearing your sensible hat and took a backup before you made any changes, you’ve still got the pain of restoring that backup in order to get your WordPress site back up and running.

You can save yourself that pain by changing how you make major changes. Don’t get me wrong, if you’re editing a couple of lines of code, I fully endorse taking a backup of the file you’re editing, so that you can make changes on the fly. Otherwise you should test changes fully before putting them in place on your live site.

Setting up a staging environment can be a pain (which probably explains why we skip this step!) but today I’m going to show you how to easily create a staging environment using Softaculous in just a few clicks.

1
Login to your cPanel account

Navigate to your login page for cPanel. This is normally your domain name or IP address followed by /cpanel

e.g. http://yourdomainname.com/cpanel

login_cpanel

2
Create a staging Subdomain

Click on the subdomains link under the DOMAINS section in cPanel

enter the Subdomain in the Subdomain field e.g. staging

Click the blue Create button link

3
If you didn’t install WordPress using Softaculous

You only need to complete this step if you DIDNT install WordPress using Softaculous, otherwise you can continue to the next step.

in order to import your WordPress install into Softaculous, you should follow this guide

4
Access Softaculous

Click the Softaculous link, in the Software section of cPanel

5
Create a staging site using Softaculous

Click the All Installations link in the top right menu (icon looks like a box)

Click the “Create Staging” link next to the install you want to copy to a staging environment

Select the subdomain you created in step 2 in the Choose Domain dropdown

Click the “Create Staging” link

6
All done!

See, that wasn’t too difficult was it 🙂

You can know view your website using the subdomain created in step 2

You should probably block search bots crawling the site by implementing a robots.txt file or you can even block anyone viewing the site except you by only whitelisting your IP or by using htpasswd to implement basic authentication.

Will’s our technical sales guy from the hills of Rossendale. In his spare time he can be found designing and building websites, or doing a spot of DIY!

We have a very strong team here at Clook and we build on everyone's strengths and weaknesses, you have to be able to make a good brew too!

Chris James

Customer Login

Forgot Password? Cancel