Skip to content
Free website migration on every plan, done by our team.Learn more ›
WordPress

How to create a staging site (and why you need one)

What a staging site is, how to create one for WordPress in cPanel, how to keep it out of Google and how to push tested changes to your live website.

Short answer: A staging site is a private copy of your website where you test updates, new plugins and redesigns before visitors see them. Create one on a subdomain such as staging.yourbusiness.com, block search engines, test there, then apply the same changes to the live site.

Why staging matters

Updates occasionally break things: a plugin clashes with your theme, a PHP upgrade exposes old code, or a redesign changes checkout. Testing on a copy means problems happen where nobody can see them.

Three ways to create one

1. The app installer's staging tool

Many cPanel app installers can clone a WordPress site to a staging copy in a few clicks and push it back when you're done. Look for a "Staging" option next to your installation.

2. A WordPress plugin

Several backup and migration plugins can create and sync staging copies.

3. Manually

  1. Create a subdomain such as staging.yourbusiness.com.
  2. Copy your site's files into its folder.
  3. Export your database and import it into a new database.
  4. Update wp-config.php with the new database details.
  5. Change the site address to the staging subdomain with a careful search and replace.

Keep staging private

  • Protect it with a password (cPanel's Directory Privacy).
  • In WordPress, tick Discourage search engines from indexing this site.
  • Never send real customer emails or payments from staging.

Moving changes to live

For small changes, repeat them on the live site. For bigger projects, push the staging copy live during a quiet time, with a fresh backup first. See WordPress backups.

Frequently asked questions

Does a staging site cost extra?

It uses a subdomain and some storage on your existing plan, so usually not.

Can Google find my staging site?

It can if it isn't protected. Use a password and the search-engine setting together.

Should I test PHP upgrades on staging?

Yes. It's the safest way to change PHP versions. See which PHP version to use.

Ready when you are

Host it where it performs

NVMe speed, offshore privacy and a written SLA — live in minutes on AuroxHost.