A staging environment is essentially a copy of your live website. It allows you to test changes and make sure that mistakes and issues are resolved before being deployed to the live site and to your users.
Websites hosted on 10Web can access the staging environment feature by enabling it. Websites that are not hosted on 10Web can access the feature by upgrading and migrating to 10Web.
How to enable the staging environment
To enable the staging environment:
- Sign in to your 10Web account
- Click on the website where you want to enable a staging environment
- At the top of the sidebar, click the dropdown menu and choose Staging Environment or
- Under Hosting Services, click on more > Staging environment
- Click on the Enable Now button
Once the staging environment has been enabled, a copy of your live website with a -dev domain name will be created and your dashboard will become dark blue, indicating that you are now working in the staging environment.
Note:
For staging environments or -dev sites, we enable the, discourage search engines from indexing this site option.
You can switch between environments by clicking the drop down menu at the top of the sidebar and clicking on live environment or staging environment.
Note:
Changes made in the staging environment will not reflect in your live site until you push your staging to live.
How to sync your staging environment with live
Syncing your staging environment with your live site means that you will overwrite all changes you have made in the staging environment and copy your live site to your staging environment. For example, if you are redesigning your website in the staging environment and the outcome is not at all what you want, and some of the plugins you have used are breaking parts of your site but you don’t want to put in the time or resources to fix it, you can simply sync your staging with your live. You may also have made changes in the live environment and would like to sync it with your staging.
To sync staging with live:
- Go to the website you want to sync
- At the top of the top bar, click on the environment drop down menu
- Next to the staging environment, click on the gear icon, or
- Under Hosting services, click on more > Staging environment
- In the Manage Environment page, click on Sync Staging With Live
- Enter the site name written in the field then click Sync With Live
Note:
Depending on the size of your website, syncing may take a few minutes.
How to push a staging environment to live
Pushing the staging environment to live means that you will copy your staging environment to the live environment.
Note:
When pushing to live, we make a copy of your current live website before it is overridden by the staging site.
To push staging to live:
- Go to the website you want to push
- At the top of the top bar, click on the environment drop down menu
- Next to the staging environment, click on the gear icon, or
- Under Hosting services, click on more > Staging environment
- In the Manage Environment page, click on Push Staging to Live
- Enter the site name written in the field and click Push to Live