Skip to content

Staging (test copy)

Staging creates a full, isolated copy of your website on its own preview domain. There you can safely test changes, updates or a new design โ€” your live site stays completely untouched. Once you're happy, publish the copy back onto the live site with a single click.

Requirement

This feature must be enabled in your package (Staging). If it's missing, contact your provider.


How it works

When you create a staging copy:

  • All of your website's files are copied into a separate copy under your website user.
  • Each database is cloned into its own staging database โ€” so the test copy can never write to your real data.
  • The copy gets an address of its own that only you use to open it. Either one you supply (e.g. test.your-domain.com) or an automatically generated one (preview-a1b2c3.your-panel.com) โ€” see below.
  • For app configurations in .env format, the database credentials are automatically rewritten to the staging database.

Your live site and its database are not touched.


Create a staging copy

  1. Under Websites, open your site's action bar (click the row).
  2. Click ๐Ÿงช Staging.
  3. Enter the address you want, e.g. test.your-domain.com, and click Check โ€” the panel looks up whether the name already points at this server and shows you the matching DNS record ready to copy. Leaving it empty means: use the automatically generated address.
  4. Click Create staging.

After a moment the address appears as a link. Open it to work on the copy.

Which address?

Way Requirement
Your own address (recommended) A single A record in your DNS zone pointing at this server
Generated automatically A DNS wildcard record on the panel domain, which your provider has to set

HTTPS follows automatically

While no SSL certificate exists for the address yet, staging runs over http://. As soon as the address resolves to this server the panel obtains the certificate itself โ€” at the latest on its daily pass โ€” and switches staging to https://. You do not have to do anything for that.


Publish changes (push-to-live)

Once your tests are successful, transfer the copy back onto the live site:

  1. Open ๐Ÿงช Staging again.
  2. Click Publish to production.
  3. Choose whether the database should be transferred as well:
    • Unchecked (default): only the files go live. Your live database stays unchanged. Configuration files such as .env, wp-config.php or configuration.php are deliberately not overwritten, so your live credentials are preserved.
    • Checked: your live database is additionally replaced with the staging database.

Before publishing

Push-to-live overwrites your live files with the staging version. For safety a backup of your live site is taken automatically first โ€” including a database dump when the database option is enabled.


Remove staging

Via ๐Ÿงช Staging โ†’ Delete staging you fully remove the copy, its preview domain and the staging databases again. Your live site is not affected.


For administrators

Enable staging per package: under Admin โ†’ Packages โ†’ [Edit package] โ†’ Developer tools, turn on the Staging option. Only customers with that package see the staging action.

Administrators can use the staging action on any website. Resellers can use it on the websites of their own customers.