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 Business, WordPress Business or greater hosting plan, you can easily create and manage the staging environment from hPanel with a few clicks!
How to create the staging environment
Open Websites → Manage. In the left sidebar, search for Staging, and click on it:
In case you don’t see the WordPress section, make sure to detect your existing WordPress website.
Once there, simply click on Create staging:
Specify the subdomain name and click on Create:
After a few minutes, the staging website will be created.
How to manage the staging environment
To access your staging website, go to the Staging section on your hPanel 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. That's it - your website will be updated with the content from the staging environment! 😊
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
If your domain is pointing by nameservers to a different provider, make sure to create the A record for the staging subdomain on your active DNS Zone and point it to your hosting IP