Ways to make a staging site
Look in your hosting dashboard first. Many managed hosts and website platforms have a staging button, and that's the least work.
If there isn't one, you've still got options. They just take more effort.
Route one: the host makes it for you
Here's what one platform's help page describes. You open the hosting dashboard and pick your site. Then you use the drop-down: "Beneath your site title, click the Production drop-down to add a staging site. This process will take some time to complete"1.
The screens differ between hosts, so use your own host's help page. Look for words like staging, environment, clone or copy.
Two things to check before you rely on it. First, your plan. The same platform says free sites and some paid plans need to "upgrade your plan to access this feature"1. Second, the limits. One host allows "up to one environment of each type, for a total of three environments per site"2. Those are live, staging and development.
Route two: your platform's preview feature
Some website tools build a private preview whenever you change something. One static-site host describes preview deployments as a way to "preview new versions of your project without deploying it to production"3.
Read the access settings. That host says "By default, these deployment URLs are public"3. A link nobody knows is still a public link. Another page covers keeping it out of results.
Route three: a plugin or a manual copy
If your host has no staging tool, you can build a copy yourself. The usual pattern is a subdomain such as a "test" or "staging" prefix on your domain, or a separate folder on the same hosting account. You then copy the files and the database across and point the copy's settings at its own address.
Many website platforms have plugins that do the copying. Choose one from the platform's own plugin directory and read its documentation first. Don't install tools from unofficial sources, because the copy holds a full set of your site's files and data.
By hand, the rough order is:
- Create the subdomain or folder in your hosting control panel.
- Create a separate database for the copy, so it can't touch the live one.
- Copy the site's files into the new location.
- Copy the database contents across.
- Edit the copy's settings so it uses its own address, not the live one.
- Stop search engines and strangers reaching it.
Step five is where beginners trip. If the copy still points at the live address, its links may send you to the real site. If you're not confident with databases, ask your host's support or a developer.
What doesn't copy, and what behaves differently
A copy often leaves some settings behind. One host warns that some of its settings "will not be copied when using the Copy Environment tool"2. Redirects and SSL certificates are on its list, and it says to "Reach out to Support to have SSL certificates copied"2. A redirect that works on live may be missing on the copy.
Domains matter too. On some plans "Custom domains cannot be added to Staging"2. Plugins licensed by domain name "may require a custom domain" to work properly on a staging address4. If a paid plugin complains on the copy, check its licence terms.
Picking a route
| Route | Effort | Watch for |
|---|---|---|
| Host's staging tool | Low | Plan limits, features that don't copy |
| Platform preview | Low | Preview links that are public by default |
| Plugin | Medium | Plugin documentation, update support |
| Manual subdomain or folder | High | Wrong addresses, a shared database by mistake |
Whichever you pick, the copy is only useful if it matches live. After creating it, compare a few pages side by side before you change anything. Then work through the testing checklist.
Notes and sources
- Use a staging site to troubleshoot errors, WordPress.com Support
- Sites and Environments, WP Engine Support
- Preview deployments, Cloudflare Pages docs
- Staging environments, Kinsta Docs