This article provides a guide for how to prevent breaking your live website with our staging feature.
Prevent Breaking Your Live Website with Our Staging Feature
What is Staging?
The staging environment is a copy of your production website where you can preview any changes or upgrades before you apply them on your production website. This prevents any downtime or unexpected errors on your live website.
Why Risk your production website when you can play safe with our Staging tool!
How our Staging Tool makes the process Easier & Efficient?
Our new Staging feature will help you create and manage staging copies with one just click.
You can create staging copy of your live website to test the upgrades, install plugins, themes, add new pages or any other changes to make sure you are satisfied with the changes before pushing it to the live installation.
Softaculous lets you maintain Staging as well as Production website simultaneously for any changes you would want to make in future.
Let’s take an Example of a WordPress installation
In this process, we will create a Staging copy of a live WordPress installation in a sub-directory “staging”.
1) Login to your control panel
- Login to your cPanel account
- Click on the Softaculous Icon or Link
- This will take you to Softaculous Enduser Panel
- Go to the Installations page as shown in the screenshot below
2) Choose the installation for which you want to create a Staging copy
- Click on the Create Staging icon as shown in the screenshot below
The create Staging page will appear with the live installation details and a form asking for details about the staging copy you want to create.
3) Fill in the Staging Installation details as shown in the screenshot below
Click on the Create Stagingbutton and it will do the trick.
That’s it! Your staging copy is ready. You can login to the WordPress admin panel with the same credentials as in the live installation.
Make any changes you need e.g. :
- Install/Update Plugins
- Install Themes
- Update WordPress Core
- Add/Edit Pages
- Any other changes you would like to make.
Once you are satisfied with the changes in Staging copy, you can now Push these changes to your live website (again with just one click).
4) Choose the Staging installation you want to push to live
Click on the Push To Live icon next to the corresponding Staging installation you wish to push to live as shown in the screenshot below:
The Push to Live page will appear asking for details about how you want to merge the changes i.e. you want to just update the files or update the database as well.
You will see two tabs :
- Default Options
If you want to push the current staging website as is to your production website i.e. files as well as the exact same database. This option will
- Create a backup of your live website
- Overwrite all the files from your staging copy to your live installation
- Erase the database of your live installation and replace it with the one in your staging copy
- Customize
This option will allow you to choose exactly what changes you want to push from your staging copy to live installation. You can choose if you want to
- Push the Files
- Full Database (includes structure changes as well as rows in the tables)
- Only Database structure
- Only Data from the database tables
This option will :
- Create a backup of your live website
- If you choose the “Overwrite Files/Folders” the files from your staging copy will be copied to your live website
- As per the option you choose it will make the changes to your database
Once you have decided what changes you want to Push to your live website, hit the Push to Live button.
That’s it! Let Softaculous do the hard work.
The Success message will appear and you can login to your production website and check if everything works fine.
Conclusion
We hope this feature helps you save time and hassle in managing your staging and live installations.
The staging feature is included free with all WordPress Hosting plans!
Contact our support team for any assistance.