Short answer: a development environment on Cloudways is built from three tools: Staging, a protected copy of your site where you test changes and push them live with one click; cloning of an application or a whole server; and Git, which pulls code from a repository straight onto the server. Staging is included at no extra cost on both Flexible and Autonomous, so there is no reason to update plugins or your theme directly on the live site.
⏱ Creating a staging site: from a few minutes to a few hours, depending on site size · Difficulty: beginner (staging) to advanced (Git) · Last checked: 7 Nov 2026
What you’ll learn here
| Topic | What you’ll be able to do | Level |
|---|---|---|
| Staging | Create a test environment, work in it, and push only what you need to the live site | Beginner |
| Push and Pull | Choose between a full and an incremental push, and pull fresh content from the live site | Intermediate |
| Cloning | Clone an application to another server, or clone an entire server | Beginner |
| Git | Connect a Git repository to an application and deploy code, including automatic deployment with webhooks | Advanced |
What does the Cloudways development environment include: staging, cloning and Git?
The three tools sound alike, but each solves a different problem. Which one you pick depends on what you want to do with the copy.
| Tool | What it does | When to use it | What to know |
|---|---|---|---|
| Staging | A copy of the site linked to the live site, with Push and Pull between them | Updating plugins, switching themes, a redesign, testing a new PHP version | Password-protected, with SSL, and not crawled by search engines |
| Application clone | An independent copy of the site, on the same server or another one | Moving a site to another server, building a new site from an existing template | Once cloned, the original and the copy are not linked. Cloning time: from 20 minutes to a few hours |
| Server clone | A new server with all its applications | Trying a different cloud provider, preparing an identical server for a new project | A new server gets a new IP address. Not available during the trial |
| Git | Pulls code from a repository (GitHub, GitLab, Bitbucket) into the application folder | Developers who use version control | The repository must support Git over SSH. The database doesn’t travel through Git |
Push and Pull: direction is everything
Pull copies the live site into staging so you work on current content. Push copies your changes from staging to the live site. With every push you choose whether to send files, the database or both, and whether to overwrite everything (Overwrite) or send only what changed (Incremental). Every push and pull is recorded in a deployment log, so you can always see what moved and when.
A warning for WooCommerce stores
This is the most expensive mistake: pushing the database from staging to a live store. If orders came in or customers registered since you created the staging site, overwriting the database wipes them out. On a store, usually push files only, and make settings changes by hand on the live site. And always take a backup of the live site before a push.
How Git fits in
In the panel you generate an SSH key, add it to your repository, set the repository URL and branch, and pull the code. With a webhook, deployment happens on its own on every push to the repository. The setup I recommend for teams: a development branch that deploys to staging, and a main branch that deploys to the live site.
In what order should you learn this?
- Start with creating a staging environment and pushing changes live. It’s the tool most site owners need.
- Before any push, make sure you know how to back up and restore.
- Need an independent copy? Learn how to clone an application or a server.
- Developer? Connect Git and automatic deployment. Detailed guide: Git deployment on Cloudways: how to deploy code from Git, including webhooks and Autonomous
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.
All staging, Git and cloning guides
Staging and cloning
- How to create a staging environment on Cloudways and push changes live
- How to clone an application or a server on Cloudways
- How to move a site between servers within Cloudways
Deploying code with Git
For agencies and web developers
- Cloudways for agencies and web developers: clients, team and billing in one place
- How to transfer a server between Cloudways accounts (for example, handing a site over to a client)
Which common mistakes should you know about, and how do you avoid them?
A stale staging site: working on a staging copy created a month ago, then pushing and overwriting content added to the live site in the meantime. Before each round of work, pull from the live site, and push only what you changed.
Forgetting to clear the cache after a push: the changes are live, but visitors still see the old version. After every push, clear the Breeze and Varnish caches.
Leaving old environments around: on Flexible, every staging site and clone takes up disk space and resources on the server. Delete environments you’re done with, especially before you upsize a server because you “ran out of space”.
Testing without real data: a plugin that works on an empty staging site can break on a large database. Test on a current copy of the site, not on a blank install.
Sources
The official sources this page is based on (checked on 7 Nov 2026):
- Cloudways Knowledge Base: How to clone your application
- Cloudways Knowledge Base: How to deploy code to your application using git on cloudways flexible
- Cloudways Knowledge Base: How to create a staging environment
Frequently asked questions
Not as an add-on. Staging is included in every Flexible and Autonomous plan. On Flexible it does use resources and disk space on the server it sits on, so delete environments you no longer use.
No. According to Cloudways, staging environments are password-protected out of the box and search engines can’t crawl them. Still, don’t share the temporary URL publicly.
Staging stays linked to the live site and lets you push and pull between them. Cloning creates a fully independent copy with no link to the original. To test changes before they go live, choose staging; to build a new site or move to another server, choose cloning.
No. A Flexible trial allows only one server, and cloning would create a second one. Cloning becomes available once you upgrade to a full account.
No. Git moves code files only. Database changes travel through a push from staging, through import and export, or through the migration tools of your plugin or framework.
Related topics and key pages
- Backups and restore: before every push to the live site
- Server and application settings: PHP, Cron and WP-CLI
- AI and automation, including SafeUpdates, which tests updates in a temporary environment
- Cloudways for agencies
- How to update a WooCommerce store without losing orders
- All guides: the Cloudways guide library
Official sources: How to Create a Staging Environment, How to Clone Your Application, How to Deploy Code Using Git on Cloudways Flexible (Cloudways Knowledge Base), and the Cloudways Staging Environment page. 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