What is a Staging Site?
A staging site allows you to duplicate your live site (e.g. rochen.com) to a staging location (e.g. staging1.rochen.com), make changes such as testing new themes or modules and then push those changes seamlessly back to the live site. This is particularly useful for web design agencies or developers undertaking work without worry of disrupting a live site. But it is also easy enough for any user to do, and a great tool for individuals managing their own personal or small business websites.
In your Rochen cPanel account, you can create your Staging site via our Softaculous application.
Logging in to cPanel & Finding Softaculous
- First, log in to your Rochen cPanel account. You can access cPanel via the following methods in your browser:
Creating your Staging Site
- Now that you’re logged in to your cPanel account, scroll down until you see the “Softaculous Apps Installer” as pictured below, and click on any of the icons.
- From the next screen, head over to the top right and click on the file box icon, as pictured below:
- Now you should see any existing installations listed:
- Click on the Staging icon, as pictured below:
- Now you are provided with some optional settings. Your staging site is going to need to be installed in to its own directory. Choose a directory name and enter it in the box, or leave the default. For this example, we chose to name our directory “dev”.
- You will also have the option to choose a database name. For this example we left the automatically generated name of “drup864”.
- You can also edit the cron settings. However, if you’re not familiar with cron jobs, we recommend leaving the default in place. or, open a ticket to ask for advice/assistance.
- Now click the “Create Staging” button.
- All done! You’ve now successfully created a staging site!
- Now you can being using your staging site to test out modules, themes, make code changes, etc. When you’re ready to, you can even clone your dev site back to your root to override the live site and put your dev changes in to place.
Please note: In some rare cases, if you are using a script/plugin that uses hard-coded pathing, you may need to manually update the associated configuration file(s) to reference your new install. If you login to your account over SSH and change directories to your install, you can use a command like “grep -Ri ‘<oldpath>’ ~+” (where <oldpath> is your original site location) to look for any files that may require adjustment. Please open a support ticket with us if you encounter any difficulties and would like some assistance with this.