Last updated: · By Asael Dreyer
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 environment | Regular clone | |
|---|---|---|
| Link to the live site | Connected, with Push and Pull | An independent copy, no link |
| Purpose | Test, and bring changes back to the live site | Create a separate site, or move a site |
| Protection | Password-protected, not indexed | A regular site |
| When | Updates, a redesign, a PHP test | Moving 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
- In the management panel, open Servers, choose the server, click the globe icon and select the application.
- Under Application Management, choose Staging Management.
- Click Launch Staging Application. You can reach the same window through Clone App/Create Staging in the quick actions menu.

- In the window that opens, choose the server. My recommendation: the same server, to save on cost and avoid compatibility problems.
- Make sure the Create as Staging box is checked.
- Click Continue.

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
- Open the staging application from the list of applications.
- In Access Details you will find the staging URL, the username and password for the password protection, and the database details.
- 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.
- In the staging application, open Staging Management and click Push.
- Choose what to push:
- Web Application Files: the files in the
public_htmlfolder. Choose Overwrite to replace all the files on the live site, including.htaccessand 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.
- Check Backup so Cloudways takes an on-demand backup of the live site before the push. Don’t skip it.
- Click Proceed. The time depends on the size of the site.
Which option to choose in Push
| What you changed in staging | Files | Database |
|---|---|---|
| Updated plugins, theme or code | Incremental | Usually not needed. If the plugin changes tables, Selected Tables |
| A full redesign, a brochure site with no orders | Overwrite | Full DB |
| A WooCommerce store or a site with registered users | Incremental | Selected Tables only. Never overwrite the orders, customers and users tables |
| Content only (pages, posts) | Not needed | Selected 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.
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).
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
Start a free trial server, no credit card. When you move to a paid plan, the code ASAEL takes 30% off your bill for the first three months.
The link fills in the code on the signup form. Just make sure it shows up.
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.
- In Staging Management, click Pull.
- Choose Web Application Files (Overwrite or Incremental) and Database (Full DB or Selected Tables), as with Push.
- 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
- In the panel, open Applications and choose the application.
- Click Workflow/Tools and choose Staging Management.
- 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:
- How to create a staging environment (Cloudways Knowledge Base)
- Cloudways Staging Environment
- Cloudways Autonomous
- Cloudways Features
Frequently asked questions
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.
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.
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.
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.
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.
It stays. You can keep working on it and push again later. If you no longer need it, delete it like any other application.
Related guides
- Deploying code with Git on Cloudways
- How to clone an application or server on Cloudways
- Cloudways for agencies
- All guides on this topic: Staging and Git guides
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