What is a Staging Environment?

A staging environment or staging site is a copy of your live website and is the last step in the deployment process before changes are deployed to your live website.

By having a staging environment that is a copy of your live environment you are able to test new changes made by your developers before they are released to your live website. Using multiple environments is not necessary, but it comes with a long list of advantages, which are especially important if you work on big or complex projects.

Testing new changes on a staging environment before deploying them to your live website also reduces the risk of any errors or issues that will affect your users. This effectively means happier users and more uptime for your website.

Synonyms

  • Staging environment
  • Staging site
  • Pre-production site

Environments: Local vs. development vs. staging vs. live

In web development it is often necessary to have multiple environments to work on. By having multiple environments it is possible for many developers and users to work independently and simultaneously on a project, without it ever affecting the live site.

When changes in one environment are ready for testing and quality assessment it is deployed to a new environment - usually working its way from left to right in the environment structure.

 

Deployment environments

 

Local environment

A local environment is independent of any hosting as it is kept offline and run on a local machine or server. This is an efficient and cost-effective way of adding a test environment without worrying about paying for multiple environments. It also adds the benefit of being independent on internet connectivity, so you can work on your project wherever and whenever.

Development environment

A development environment is usually used as an “anything-goes” area for developers to test new features, changes or anything they feel like. This environment can sometimes be the same as the local environment, depending on the preferred setup and work process.

Staging environment

A staging environment is the last step before something goes into production and is visible on the live site.

A staging site’s main purpose is to ensure that all new changes deployed from previous environments are working as intended before they hit the live website. By using a staging site and testing everything before deploying to a live website, you will be able to eliminate bugs and issues, so they never affect the user. Sometimes this process is referred to as quality assessment (QA).

For agencies developing websites for clients, a staging site is often used to present the client with the final project for them to do final testing and eventual approval before a launch.

Live environment

The live environment - also called production environment - is the final stage and the website that a user will see. If the process of deploying and testing changes is good between your environments, then this version of your website should be without bugs or issues, so you can provide the end-user with a great digital experience.

When do you need a staging environment?

Everyone with a website can get a staging environment - and in an ideal world everyone would have one. By having a staging environment and taking advantage of effective deployment processes you get a long list of advantages.

The main advantage is quite simply that you get the chance to test new changes before releasing them on a live website, avoiding any bugs or errors from hurting the user experience.

Whether you need a staging site or not will often depend on how big and complex your website is, as well as how frequently you plan on making major changes. If you are only running a smaller website without major changes planned, then simply using the preview function built into your CMS can be enough.

If you plan on adding additional environments, you should remember to look into the costs of setting these up, as you will usually be charged for any new environment you want hosted. Of course that does not apply if you plan on using a local environment for staging.

Umbraco Cloud and multiple environments

Umbraco Cloud is flexible when it comes to multiple environments and has a built-in deployment tool for handling deployment from one environment to another. If you want to learn more about how deployment works in Umbraco Cloud you can watch the video below.

 

 

 

You can also read more about environments on our Umbraco Cloud pricing page and find the plan that fits to your needs.

Want to be updated on everything Umbraco?

Sign up for the Umbraco newsletter and get the latest news and special offers send directly to your inbox

Are you sure, that's your real e-mail?