Illustration for Cloudways staging: a protected copy pushed to the live site

This article contains affiliate links. AutomateWithMNK may earn a commission if you sign up through certain links, at no additional cost to you. This does not influence our editorial assessment.

Cloudways staging: test changes without breaking your site

Cloudways includes free staging: a password-protected copy of your site where you test an update, a theme or a plugin before pushing it live. You push with Push, choosing files, database or both, in overwrite or incremental mode. The setting that protects a store is pushing selected tables only, so orders placed in the meantime survive. Two limits matter: a deleted staging app cannot be recovered, and the Autonomous trial does not include staging.

This guide relies on Cloudways’ official staging page, its changelog and help-center excerpts, .

Explore Cloudways and its staging

For stores, also read Cloudways for WooCommerce; for your safety net, Cloudways backups.

How staging works

According to the official page, staging is a copy directly connected to the live site: you push changes when ready and can pull live content into staging at any time. It is password-protected out of the box, works on Flexible and Autonomous, and every push and pull is logged. It is free on an existing server; if you launch a new server for it, that server is billed as usual.

Creating the copy

Create staging by cloning the live application. The page notes that server and application settings are not cloned, so check the PHP version and cache settings on the copy. Several staging apps can run on one server, provided it has enough memory.

Pushing to live

  1. Take an on-demand backup of the live site (backups require a paid account).
  2. Open the staging application, go to Staging Management and click Push.
  3. Choose what to send: application files, database, or both.
  4. Choose the mode: overwrite or incremental.
  5. Push, preferably in a quiet hour, then clear browser and firewall or CDN caches if changes do not show.

Steps 2 and 5 and the quiet-hour advice come from Cloudways help-center excerpts.

Picking push options

Push options and their effects
OptionEffectUse it for
Files, incrementalSends changed files only; files deleted on staging are not deleted liveTheme or plugin changes
Files, overwriteReplaces every file, .htaccess includedA full code overhaul
Database, selected tablesSends only the tables you pickStores: leave orders and customers out
Full databaseReplaces the whole databaseSites with no live data added since the copy
Excluded pathsSkips up to nine directoriesFolders specific to the live site

Incremental behaviour, table selection and the nine-directory limit come from help-center excerpts.

Pulling live content

Before starting new work, Pull live content into staging so you work on current data. On a store, avoid pushing the full database back afterwards.

Known gotchas

  • Wiping orders by pushing a store’s full database.
  • Secondary domains: per the help center, the built-in search-and-replace only handles the primary domain, so fix other domains by hand.
  • Settings not cloned: a different PHP version or cache between staging and live.
  • Caches hiding changes that were in fact pushed.

Limits

  • A deleted staging application cannot be recovered, per the July 2024 changelog.
  • The Autonomous trial does not include staging, per Cloudways’ trial announcement.
  • Staging uses the resources of the server it runs on.

A release workflow

Six-step release workflow
StepAction
1Pull live content into staging
2Make and test the changes on staging
3Take an on-demand backup of live
4Push files only, or selected tables
5Clear caches and check key pages
6Review the push log

Try staging on Cloudways

FAQ

Is Cloudways staging free?

Yes on an existing server; a new server created for it is billed as usual.

Can I push selected tables only?

Yes, per the help center; that is the option that protects a store’s orders.

Can visitors see the staging site?

It is password-protected out of the box, which keeps visitors out.

Can a deleted staging site be recovered?

No, according to Cloudways’ changelog.

Sources

Official pages checked on .