Detailed guide. An unofficial adaptation of User Guide 11.7. Source updated April 14, 2025; reviewed November 6, 2026. No running-Drupal procedure test has been performed.
Official source ↗ · Previous: 11.6 Placing Custom Module and Theme Files · Chapter 11 overview · Next: 11.8 Making a Development Copy
What development sites are
Separate copies allow development and testing without directly risking live-site integrity.
| Environment | Role |
|---|---|
| Local | Individual work, for example with DDEV |
| Development | Combining team changes and Git history |
| Staging | Quality checks, client review and acceptance |
| Production | Serving verified features to visitors |
Adapt stages to the project’s size. The important decision is where each verification happens.
Changes and data
The source recommends existing content for realistic testing. Our additional preparation is to restrict access to copies, anonymize where needed, and use test-safe mail, payment and external integrations. Moving code and configuration forward is different from overwriting new production content with an old database copy.
Our verification examples
Identify URLs, databases, file storage and responsibilities for each environment. Define verification and recovery steps. Git history does not automatically back up database content or uploads. Continue with copying a site and deploying configuration .
Sources, credits and changes
Source: Drupal User Guide 11.7 ↗ . Contributors and source links listed in its Attributions: Diána Lakatos ↗ · Jojy Alphonso ↗ · Red Crackle · Joe Shindelar ↗ · Drupalize.Me . Refer to the source for writing, editing and adaptation roles, and to the guide-wide credits ↗ .
Copyright remains with the individual contributors; the official copyright page ↗ states © 2015–2025. Changes include reorganized explanations and procedures, our preparation and verification examples, troubleshooting notes, source-interpretation qualifications and release references. Original screenshots and videos are not reproduced. This adapted text is shared under CC BY-SA 2.0 . It is not an official edition or endorsement. This notice does not license unrelated articles or the site design.
Chapter navigation
Previous: 11.6 Placing Custom Module and Theme Files · Chapter 11 overview · Next: 11.8 Making a Development Copy
Chapter 10 details · Chapter 12 · All chapters · Search official information