Delete and Recreate a Staging Site
Sometimes the easiest way to get a clean staging site is to delete the old copy and make a new one. A new copy starts as a fresh copy of the live site. This page covers both steps, using SiteGround’s official staging guide.
If your DNS isn’t at SiteGround
Section titled “If your DNS isn’t at SiteGround”If your domain’s nameservers are at another provider (GoDaddy, Cloudflare, etc.), SiteGround can’t add the staging address to your DNS. We add an A record for it by hand (for example host staging2, pointing to your SiteGround server’s IP address).
When you recreate staging:
- If you reuse the same name, the existing record may keep working, but we need to check that the server address hasn’t changed.
- If the new copy gets a different name (for example
staging3), there’s no record for it yet, so it won’t load until we add one. - SiteGround’s guide also says the
www.version of the staging address needs a record when DNS is elsewhere.
Before you delete
Section titled “Before you delete”- Contact us and agree on the new staging name (keeping the current name is simplest).
- Push or save anything you need from the current staging copy. Anything not pushed to live will be gone. If you’re not sure whether something was pushed, ask us.
- Note any Protected URLs password you set for staging. A new copy may need it set up again (how).
Step 1: Delete (Destroy) the old staging copy
Section titled “Step 1: Delete (Destroy) the old staging copy”- Log in to SiteGround and open Site Tools for your website.
- Go to WordPress → Staging.
- Under Manage Staging Copies, find the copy and click its kebab menu (the ⋮ three dots).
- Click Destroy and confirm.
(Manage your Staging copies, SiteGround)
Step 2: Create a new staging copy
Section titled “Step 2: Create a new staging copy”- In Site Tools → WordPress → Staging, pick your site from the WordPress installation drop-down.
- Type the Staging Name you agreed with us and click Create.
- If SiteGround asks about extra files or folders that aren’t part of a normal WordPress install, tick the ones the site needs and click Confirm. Ask us if you’re unsure.
- The new copy appears under Manage Staging Copies.
(How to create a Staging copy, SiteGround)
Step 3: Tell us, then wait for DNS
Section titled “Step 3: Tell us, then wait for DNS”- Email us the exact staging name shown under Manage Staging Copies (for example
staging3). - If your DNS isn’t at SiteGround, we add or update the A record (and the
www.record if needed). - Give DNS a little time to update, then open
https://<name>.yourdomain.com/wp-adminand log in with your normal WordPress login (it’s copied from the live site). - If the copy should be private, set up Protected URLs again (steps).
What’s in the new copy
Section titled “What’s in the new copy”- It’s a fresh copy of the live site as it is right now: pages, posts, settings, users, and form entries.
- Work from the old staging copy is not carried over.
- SiteGround turns off WordPress’s scheduled tasks (cron) on staging copies.
- SiteGround allows up to 10 staging copies and 15 staging actions per day (see SiteGround staging steps).
After changes go live
Section titled “After changes go live”When you push staging to the live site, clear the SiteGround cache so the live site shows the new version.
Related
Section titled “Related”- SiteGround staging steps: creating, deploying, and password-protecting copies
- Clear the SiteGround cache