Think Build Implement Repeat
London, UK +44 7367 067226
WhatsApp FOLLOW f in X
  1. Home
  2. Blog
  3. We Test Changes Directly on the Live Website Because We Have Nowhere Else. How Do We Set Up a Proper Staging Environment?
Problems We Solve

We Test Changes Directly on the Live Website Because We Have Nowhere Else. How Do We Set Up a Proper Staging Environment?

No staging environment, so every change is tested on the live site? Why that keeps hurting and how SpiderHunts builds a staging copy that matches production.

Updated 3 min readBy SpiderHunts Technologies

Free estimateNo obligation

Get a free estimate

Tell us what you need. A senior engineer reads every enquiry.

Takes under a minute. We never share your details.

  • Free consultation
  • No commitment
  • NDA on request

Prefer to talk? Book a free 30-minute call →

Quick answer — TL;DR

Without a staging environment, every change is tested in front of your customers. SpiderHunts builds a staging copy that matches production (same code, same configuration, safe copies of data), connects it to your deployment process so every change passes through it, and keeps it in step with production so what works on staging works live.

Every change is a live experiment

A developer changes the checkout page and refreshes the live site to see whether it worked. Your marketing team edits a page template and the menu disappears for an hour. A plugin update is applied on the live WordPress site because there is nowhere else to try it. Sometimes changes are made late at night so fewer customers see the mistakes.

Everybody knows it is not ideal. But setting up a separate environment always seems like a job for later.

Why teams end up without one

  • The site started small, and testing on live was fine when nobody used it.
  • Setting up the server was manual, so making a second copy felt like too much work.
  • There was a staging site once, but it drifted from production until nobody trusted it.
  • The live database holds personal data, so copying it for testing felt wrong, and nobody worked out a safe alternative.
  • Integrations such as payments or email were hard to point at test versions.

The drifted staging site is the most common version of this. A staging environment that does not match production is almost worse than none, because it gives false confidence.

What testing on live costs

EffectHow it shows up
Customer-facing errorsVisitors see broken pages while changes are tried
Real transactions during testsTest orders, emails or payments hit real customers or accounts
Fear of changeUpdates are postponed, including security updates
Out-of-hours workChanges pushed to evenings and weekends to reduce exposure
No sign-offStakeholders cannot review changes before they go live

Test data leaking into live systems is a quieter problem. Dummy orders end up in the accounts, test customers appear in the CRM, and somebody has to find and remove them by hand. Occasionally a real customer receives an email that was only meant to be a test, which takes some explaining.

The fear of change is the expensive one over time. Security updates and plugin upgrades get delayed because nobody wants to risk the live site, which leaves it exposed for longer.

How we set up staging that you can trust

  1. Capture production as it is. We record the server setup, configuration, versions and services so we know exactly what staging must match.
  2. Build environments from code. Using containers or infrastructure as code, staging and production are built from the same definitions, so they cannot drift apart unnoticed.
  3. Handle data safely. Staging uses a copy of production data with personal details anonymised or replaced, or a realistic test data set, depending on what the system holds.
  4. Point integrations at test modes. Payments use the provider's test mode (Stripe and most others have one), outgoing email goes to a capture tool rather than real inboxes, and third-party APIs use sandbox accounts where available.
  5. Protect it. Staging sits behind a login or IP restriction and is kept out of search engines, so customers and crawlers do not find it.
  6. Wire it into deployment. Every change goes to staging first through the same pipeline used for production, then gets promoted once checked.
  7. Keep it fresh. Data and configuration are refreshed on a schedule, so staging reflects how production looks now.

For content-managed sites like WordPress, we also sort out how content changes and code changes move between environments, because that is where staging setups often get confusing.

Life with a staging environment

Changes are tried somewhere safe first. Stakeholders can click through new features and approve them before customers see them. Updates can happen during the working day, because a failure on staging costs nothing. And when something does go live, you have already seen it work in an environment that matches.

Is this how you work now?

  • Changes are tested directly on the live site or app.
  • Updates are done late at night to reduce the number of people affected.
  • You have had test orders, emails or payments reach real customers.
  • An old staging site exists but nobody trusts it.
  • Security and plugin updates get postponed because they feel risky.

FAQ

Frequently asked questions

The questions readers ask us after this guide.

Still have a question?

Ask us directly — a senior engineer will get back to you.

Ask about your project

Does staging need to be as big as production?

No. It needs the same software, versions and configuration, but it can usually run on smaller, cheaper resources, and can be switched off when not in use.

Can we use real customer data on staging?

Generally it should be anonymised or replaced. We help you choose an approach that keeps testing realistic without copying personal data where it is not needed.

Will this work with WordPress or Shopify?

For WordPress, yes, with care over how content and code move between environments. Shopify has its own theme preview and development store options, which we use instead.

What does it take to keep staging useful?

Building it from the same definitions as production and refreshing data on a schedule. Without those, it drifts and stops being trusted.

Keep reading

More on Problems We Solve

Start here

Testing changes on your live site?

Tell us what your site or app runs on and how changes are made now. We will suggest a staging setup that fits your size, and if something lighter would do the job, we will say so.

  1. You tell us what you needTwo minutes on the form, or a message on WhatsApp.
  2. A senior engineer reviews itAnd comes back with questions, a realistic range and an honest view on fit.
  3. Free 30-minute scoping callWe talk through scope, options and a realistic estimate — with no obligation.
Free estimateNo obligation

Talk to someone who builds this

Send a short brief and we will come back with an honest view and a realistic range.

Takes under a minute. We never share your details.

  • Free consultation
  • No commitment
  • NDA on request

Prefer to talk? Book a free 30-minute call →