Staging Environments & Deployment
A staging environment is a clone of your live website where you can test changes safely before pushing them to production. GoSiteMe provides one-click staging with automated deployment workflows.
Why Use Staging?
- Test plugin or theme updates without risking your live site.
- Preview design changes with real content.
- Let clients review changes before they go live.
- Debug issues in an isolated environment that mirrors production.
Creating a Staging Environment
- Go to Dashboard → Hosting → Staging.
- Click Create Staging Site.
- GoSiteMe clones your production files, database, and configurations. This process takes 1–5 minutes depending on site size.
- Your staging site is available at
staging.yourdomain.com(or a custom subdomain you specify).
Working in Staging
The staging environment is fully functional. You can install plugins, edit code, modify the database, and test forms. Staging sites are automatically password-protected to prevent search engine indexing and unauthorized access.
Key differences from production:
- Email sending is disabled by default to prevent accidental messages to real users.
- Payment gateways are set to test/sandbox mode.
- Search-engine robots are blocked via
robots.txtandnoindexheaders.
Deploying Changes to Production
- In your staging dashboard, click Deploy to Production.
- Choose what to deploy:
- Files only: Push file changes without touching the database.
- Database only: Push database changes without modifying files.
- Full deployment: Push both files and database changes.
- Review the diff summary showing what will change.
- Click Confirm Deploy. A pre-deployment backup of production is created automatically.
Rolling Back a Deployment
If something goes wrong after deployment, go to Staging → Deployment History and click Rollback next to the deployment you want to undo. The pre-deployment backup is restored within minutes.
CI/CD Integration
For developer teams, GoSiteMe staging environments integrate with Git. Push to a designated branch (e.g., staging) and changes are automatically deployed to your staging site. Merge to main to trigger a production deployment. Configure this under Hosting → Staging → Git Integration.