black friday 2026 label for the hellobar

Get ready for Black Friday! See offers →

VPS6 min. read

What is a sandbox?

Last updated: Nov 3, 2026

A sandbox, or test environment, is a separate copy of your website, online shop, app or server where you can try out changes without touching the live version. If a test goes wrong, the problem stays in the sandbox and your live site carries on as normal. Once a change works there, you make it on your live site.

You can run a sandbox on your own computer with a local server tool, a program that runs a web server and a database on it. A sandbox on a Virtual Private Server (VPS) is the better choice when your tests have to match your live site. It is a real server, like the one your site runs on.

What can you test in a sandbox?

Use a sandbox for anything you'd rather not try out on your live site first, such as:

  • Changes to your website, like a new design, a new plugin or a CMS update. You see how the change looks and how it affects your site speed before your visitors do.
  • New software features, which a sandbox lets developers test in isolation before they go live. Bugs and compatibility problems then show up early, not on your live site.
  • Server software and settings, like a new version of your programming language, a database, a container tool or a change to the server's configuration. You find out whether your site still runs before you touch the live server.
  • Security changes and tests, like new firewall rules, security patches or a penetration test, a planned attack on your own site to find its weak spots. You check that your changes block what they should without locking out your visitors, or yourself.

Should you test locally or on a VPS?

Both work, but for different jobs: a sandbox on a VPS suits tests that have to match your live server.

A local sandbox and a sandbox on a VPS compared

On your own computerOn a VPS
Matches your live serverOnly as far as your computer runs the same system, versions and settings as your serverYes, once you install the same system and software
Who can open itYou, on that computerAnyone you give the test address and access to
What it costsNothing extra, as it runs on your own computerOne of our VPS plans, billed monthly. You can upgrade or cancel it at any time, and a cancelled server stays active until the end of the billing period.
1 / 1

Our advice: start on your own computer for quick experiments. Once a change has to behave exactly as it will on your live site, move your tests to a VPS. Do the same when someone else needs to see it. A VPS set up like your live server shows the small differences in versions and settings that your own computer can hide.

Why use a VPS sandbox?

With our VPS, you get a server of your own for testing, and you set it up the same way as your live one.

  • The operating system of your live site: when you set up our VPS, you choose the operating system. You can pick Linux, with options such as Ubuntu, Debian and AlmaLinux, or Windows.
  • Full root access: you can install and configure any software your live site uses, in the same versions.
  • Resources of its own: the processor cores, memory and storage of your plan are reserved for your server, and other customers on our infrastructure can't use them. Performance issues on another customer's server don't affect yours.
  • Snapshots to roll back: before a risky test, you take a snapshot of the whole server and restore it if something breaks.

In return, you run the server yourself. Our VPS is unmanaged, so you look after it, including its updates and backups.

A server of your own to test on, with full root access, Linux or Windows, and NVMe SSD storage.

Choose a VPS

How to set up a sandbox on a VPS

The steps below are for a server that runs Linux. If you'd rather we looked after the server's maintenance, monitoring, security and software while you manage your sites and apps on it, a Managed VPS is the better fit. Our guide shows how the two server types differ.

To log in, you use an SSH client, a program on your own computer that lets you type commands on the server. Before you test with the database copy from step 4, overwrite the real customer data in it, such as names and email addresses, with made-up test values, or anonymise it, and leave the live database as it is.

  1. Finish the setup in the VPS dashboard in oneHome: create the administrator password and note the server's IP address, which the dashboard shows.
  2. Log in to the server with an SSH client, using the server's IP address and your login details. Secure it first: change the root password and create your own user with admin rights for everyday work.
  3. Install the same software your live site runs on, such as the web server, the database and the programming language, in the same versions.
  4. Copy your site onto the server: its files and a copy of its database. Download the files from your current host and upload them to the VPS with an SFTP program, then export the database as a file and import it into the database on the VPS. Then change the database name, user and password in your site's configuration file to those of the database on the VPS, so the copy never connects to your live database.
  5. Limit who can reach the server with IP access rules. Then point a test address, such as a subdomain, to the VPS: in your domain's DNS settings, add an A record, the entry that sends an address to a server, with the server's IP address. A DNS change often takes a few hours and can take up to 72 hours to reach everyone. The test address also needs its own SSL certificate, or a browser such as Chrome warns that it isn't secure.
  6. Take a snapshot before each bigger test, so you can roll the server back if something breaks.

You can have one snapshot at a time, and it is kept for 24 hours, so it covers a test that ends within a day. Our guide to getting started with your VPS has the commands for logging in, securing the server and installing software.

How to keep your sandbox useful

A few habits make sure your sandbox gives results that hold up on your live site and creates no new risks.

  • Keep the sandbox in step with your live server: use the same software versions and settings, and update the sandbox whenever you update the live site, or you end up testing a setup that no longer exists.
  • Test with a copy of your live database, with its personal data replaced by test data, so your results reflect real content without exposing real customers. Then click through the test site the way your visitors would, from the first page to the last step of an order or a form.
  • Give the sandbox its own database and its own passwords, and never let it connect to the live system. Otherwise a test can change real orders or customer records.
  • Password-protect the test site so only your team can open it, and on our VPS, use IP access rules so only the IP addresses you approve can connect. Google says password protection also keeps content out of Google Search.
  • Back up the server regularly, not just with a snapshot: for an extra cost that depends on your plan, the Backups add-on for our VPS makes a full backup of the server every day and keeps each one for four days. Our guide to snapshots and backups on a VPS explains how they differ.

Before you choose a server, check which operating system your live site runs on, so your sandbox can run the same one. Then compare our VPS plans to find the size that fits your tests.

What is sandboxing in security?


Recommended reading

  • vps
    VPSNov 6, 2026

    What is a VPS server and how to choose the best one

    A VPS server is a virtual server with its own reserved CPU, RAM and storage. See how it compares with shared hosting and how to choose the right one.
  • n8n workflow automation running on a self-hosted VPS, showing connected app nodes, server infrastructure, and workflow controls.
    VPSOct 20, 2025

    What is n8n, and how do you run it on your own VPS?

    Work more efficiently with n8n automation on your own VPS. Learn how to use n8n in combination with AI.
  • Illustration of a server stack processing requests and connecting to a website, email, files, and user devices.
    VPSOct 3, 2025

    What is a server?

    Servers ensure that websites, online shops, and other online services run smoothly. Learn more about what a server is and how it works.