WordPress – How to create a staging area using Softaculous
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.
Login to your cPanel account
Navigate to your login page for cPanel. This is normally your domain name or IP address followed by /cpanel
Create a staging Subdomain
Click on the subdomains link under the DOMAINS section in cPanel
enter the Subdomain in the Subdomain field e.g.
Click the blue Create button link
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
Click the Softaculous link, in the Software section of cPanel
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
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.