Skip to content

How to Create a Staging Environment on Cloudways and Push Changes to Your Live Site (2026 Guide)

On this page

Last updated: · By

In short: to create a staging environment on Cloudways, open the application, choose Staging Management and click Launch Staging Application. Pick a server, make sure Create as Staging is checked and click Continue. When you finish working on the copy, you click Push to send the changes to your live site. Creating it takes a few minutes, and it is free on an existing server.

⏱ Time needed: 5 minutes to create, plus copy time depending on the size of the site · Difficulty: easy · Last checked against the official documentation: 6 Nov 2026

What a staging environment is, and why you should work with one

A staging environment (a testing environment, sometimes called a development environment) is a copy of your live site that stays connected to it. You work on the copy: update plugins, change the design, test a new PHP version. Only when everything works do you push the changes to the real site. If something breaks, it breaks only in the copy.

On Cloudways the staging environment has three important properties:

  • It is password-protected (.htpasswd) by default, so only people who were given the details can get in.
  • Search engines don’t index it, so there is no duplicate content problem.
  • No change reaches the live site until you click Push.

Many hosting companies charge extra for staging. On Cloudways it is included in all plans, on Flexible and on Autonomous. In my experience this is one of the things that saves the most money and nerves: every big theme or WooCommerce update on our sites goes through staging first.

Staging or clone?

Both actions start from the same button, but they serve different purposes:

Staging environmentRegular clone
Link to the live siteConnected, with Push and PullAn independent copy, no link
PurposeTest, and bring changes back to the live siteCreate a separate site, or move a site
ProtectionPassword-protected, not indexedA regular site
WhenUpdates, a redesign, a PHP testMoving to another server, a new site from a template

Regular cloning is explained in the guide to cloning an application or server. This guide focuses on staging.

Before you start

  • Disk space. A staging environment is a full copy of the site. Make sure the server has enough room.
  • The same server, if possible. You can create staging on another server too, but it has to meet the application’s minimum requirements. On the same server there is no extra cost and the packages are identical.
  • Package warning. If a warning appears about package differences between the source and destination servers, update the packages before creating it.
  • A custom session path. If you set a custom session path and ran into errors, Cloudways recommends public_html/var/sessions, which is not included when staging is created.

How to create a staging environment on Cloudways Flexible, step by step

  1. In the management panel, open Servers, choose the server, click the globe icon and select the application.
  2. Under Application Management, choose Staging Management.
  3. Click Launch Staging Application. You can reach the same window through Clone App/Create Staging in the quick actions menu.
The Staging Management screen with the button to set up a test site
Staging environment management
  1. In the window that opens, choose the server. My recommendation: the same server, to save on cost and avoid compatibility problems.
  2. Make sure the Create as Staging box is checked.
  3. Click Continue.
The window for creating a staging environment on Cloudways, with server selection and Create as Staging checked
Clone an application or create a staging site

When the environment is ready you will get a notification, and it will appear in the list of applications with the Staging tag.

How to get into the staging environment

  1. Open the staging application from the list of applications.
  2. In Access Details you will find the staging URL, the username and password for the password protection, and the database details.
  3. Open the URL. The browser will first ask for the password protection details, and then you enter the WordPress admin with the same admin details as the live site, unless you changed them.

You can turn off the password protection if you need to, for example to show the site to a client, but Cloudways recommends leaving it on.

How to push changes to the live site (Push)

This is the moment you created the staging environment for. Understand the options before you click, because the wrong Push can overwrite data on the live site.

  1. In the staging application, open Staging Management and click Push.
  2. Choose what to push:
  • Web Application Files: the files in the public_html folder. Choose Overwrite to replace all the files on the live site, including .htaccess and configuration files, or Incremental to push only the files that changed. With Incremental, files you deleted in staging will not be deleted on the live site, and you can exclude up to nine folders.
  • Database: choose Full DB to replace the whole live database, or Selected Tables to replace only certain tables.
  1. Check Backup so Cloudways takes an on-demand backup of the live site before the push. Don’t skip it.
  2. Click Proceed. The time depends on the size of the site.

Which option to choose in Push

What you changed in stagingFilesDatabase
Updated plugins, theme or codeIncrementalUsually not needed. If the plugin changes tables, Selected Tables
A full redesign, a brochure site with no ordersOverwriteFull DB
A WooCommerce store or a site with registered usersIncrementalSelected Tables only. Never overwrite the orders, customers and users tables
Content only (pages, posts)Not neededSelected Tables with the content tables

The most important rule: if data comes into the live site while you work on staging, such as orders, form submissions or new users, Full DB will erase it. On a store, always use Selected Tables.

After the Push

  • Clear the cache. If the live site doesn’t show the changes, clear your browser cache and the cache of Cloudflare or any other WAF service. See the guide to clearing cache.
  • Additional domains. The automatic Search and Replace replaces only the primary domain. If the site has additional domains, check for broken links.
  • The staging stays. You can keep working on it and push again.
Black Friday80% off
80% off 2 months of managed hosting

The code BFCM802 takes 80% off your bill for the first two months (up to $200 off per month), including unlimited free site migrations. New customers only, and only until the offer ends.

The offer ends on December 4, 2026 at 23:59 (UTC+2).

Ends in—days—hours—minutes—seconds
Code:
Grab the 80% now

Start with a free trial, no credit card. Enter the code at checkout and check that it shows up.

After Black Friday: 30% off for 3 months with the code ASAEL. On a large server (above about $444 a month) ASAEL already saves more today. BFCM802 vs. ASAEL calculator

How to pull the live site into staging (Pull)

Before you start a new round of work, it is worth refreshing staging from the live site, so you work on the current content.

  1. In Staging Management, click Pull.
  2. Choose Web Application Files (Overwrite or Incremental) and Database (Full DB or Selected Tables), as with Push.
  3. Click Proceed.

Every Push and Pull is recorded in the Deployment Logs. Clicking View Logs shows the full history: what was pushed, when, and what was included.

Staging on Autonomous

  1. In the panel, open Applications and choose the application.
  2. Click Workflow/Tools and choose Staging Management.
  3. Click Launch Staging Application.

To get into the environment, on the application’s Overview screen, next to the tagged staging, click Manage Environment. The SSH/SFTP and database details appear in the Overview tab, and the password protection details under Manage Access > Password Protection.

The differences on Autonomous: each application can have only one staging environment. File Push offers only a full replacement (no Incremental). And the What Will Happen button shows in advance what will change. Note also that deleting the live application on Autonomous automatically deletes its staging. On Flexible you have to delete the staging manually.

Two alternatives to staging, from my experience

In the previous version of this guide I showed three ways to work on a new version of a site. Staging is the recommended way, but there are situations where the alternatives fit better, for example when rebuilding a site from scratch:

Clone to a new site on the same server: you clone the site without checking Create as Staging, work on the copy, and when it is ready you remove the domain from the original site and add it to the copy as the primary domain. On the same server there is no need to change DNS.

Clone to a new site on another server: the same thing, but on a different server. At the end you add the domain to the copy and change the A record to the new server’s IP. On Cloudflare the change is instant, and at a regular registrar it can take anywhere from a few hours to a day or two. Delete the old site only after the new one works, and after you have taken a backup of it. Full details are in the guide to moving a site from server to server.

Common mistakes and how to fix them

I pushed Full DB to a store and orders disappeared: the Push overwrote the live database with the old copy. Restore from the backup taken before the Push, and push again with Selected Tables only.

The changes don’t show on the live site: it is almost always cache. Clear the cache on the live application, in the browser and in Cloudflare.

I can’t get into staging: the browser is asking for the password protection details, not the WordPress ones. They appear in the Access Details of the staging application.

There are links to staging on the live site: the primary domain is replaced automatically, but additional domains or manually written URLs are not. Run a Search and Replace on the database.

I tried to clone the staging and couldn’t: staging applications cannot be cloned. Clone the live site instead.

The staging “disappeared” after cloning a server: cloning a server doesn’t copy staging applications. Create a new environment on the new server.

Testing a new PHP version: you can change the PHP version for the staging application only and test, without touching the live site. See the guide to changing the PHP version.

Sources

This page is based on the following official documentation and pages:

Frequently asked questions

Does a staging environment cost extra on Cloudways?

On Flexible, a staging environment on an existing server in your account costs nothing extra. If you launch a new server for it, you pay for the server as usual. On Autonomous the staging isn’t counted as a separate application, but its visits, disk and traffic count toward the plan’s quota.

Can Google index the staging environment?

No. According to Cloudways, search engines cannot index the staging environment, and it is password-protected by default. So there is no duplicate content risk against the live site.

What is the difference between Push and Pull?

Push copies the changes from the staging environment to the live site. Pull does the opposite: it copies the current content from the live site to the staging environment. You Pull before you start working, and Push when you finish.

How do I push changes to a store without overwriting new orders?

In Push, choose Selected Tables and not Full DB, and tick only the tables that changed. That way the orders and customers tables on the live site are not overwritten. Take a backup first, and do it at a quiet hour.

How many staging environments can I create?

On Flexible you can create as many as you want, as long as there is disk space. On Autonomous each application can have only one staging environment.

What happens to the staging environment after a Push?

It stays. You can keep working on it and push again later. If you no longer need it, delete it like any other application.

Official source: How to Create a Staging Environment (Cloudways Knowledge Base) and Staging Environment (Cloudways). This guide was written and checked by Asael Dreyer · Updated: 6 Nov 2026

Disclosure: this is an independent site, not the official Cloudways site. Some links on this site are affiliate links: if you sign up through them we earn a commission, at no extra cost to you. Full details

Picture of Asael Dreyer
Asael Dreyer

Hi, I'm Asael Dreyer, CEO of an SEO agency that runs hundreds of websites hosted on dozens of Cloudways servers.
Everything you will find here comes from hands-on experience, mine and my teams', straight from the field: from the guides to the recommendations. All to help you get the most out of Cloudways.

More about me →

Need help? Got a question about your server or this guide? Write to us and we will get back to you.

More guides on this topic:
מפריד
Thanks for your message!
We will get back to you soon.
Ready to get started?

Sign up with the coupon code ASAEL