When working on the development of your WordPress website, one way to prevent any changes from affecting your live website is to have a copy of your website for testing - a staging environment.
At Hostinger, if you have a Web Busines or greater hosting plan, you can easily create and manage the staging environment with a few clicks!
How to Create the Staging Environment
Open Websites → Manage. In the left sidebar, search for Staging, and click on it:
Next, click on Create staging:
Enter a subdomain name and click on Create:
After a few minutes, the staging website will be created.
This tool allows the creation of staging websites only for domains. If you want to set up a staging environment for a subdomain, you'll need to create it manually
How to Manage the Staging Environment
To access your staging website, go to the Staging section and click on Manage staging:
You will be directed to the WordPress Dashboard of the staging website. Once you have worked on it and are ready to go live, you can push the changes by going back to the Staging section and clicking on the options button ( ⋮ ) → Publish:
In the next window, confirm that you want to replace your live website with the staging version by clicking on Publish.
You will also find the options to revert the changes in case you need to go back to the previous version of your website, as well as delete the staging environment.
Staging websites are created as subdomains and add a new database to your hosting. In case you cannot create any more staging websites - you will need to upgrade your plan
The staging tool does not support WordPress Multisite