06Web hosting & WordPress
Staging and cloning a website – test changes safely
Create a staging copy of your website at Nexthosting, test updates and designs safely, push the copy live and clone whole websites in the web panel.
In short
A staging site is a test copy of your website at its own address. There you try out updates, plugins or a new design without visitors noticing anything. When everything works, you switch it to your domain with Push live. Cloning creates a complete, independent copy of a website – for example as a template for a new project.
Staging or cloning?
Section titled “Staging or cloning?”| Staging site | Clone | |
|---|---|---|
| Purpose | test, then push live | independent copy |
| Counts against the number of websites | no, has its own staging allowance | yes, like a normal website |
| Own domain | no, only the staging address | yes |
| Email mailboxes | no | are not copied |
| For search engines | blocked by default (noindex) | like a normal website |
| Marked in the web panel | with STG | as a normal website |
What does my plan include?
Section titled “What does my plan include?”| Plan | Webspace staging | WordPress staging | Cloning |
|---|---|---|---|
| Starter | – | 1 | yes, if a website slot is free |
| Basic | 1 | 3 | yes |
| Pro | 3 | 5 | yes |
| Business | 10 | 10 | yes |
A clone needs a free slot in your website allowance. In the Starter plans (one website each), this slot is usually already taken by your website. For testing there, use the staging site on WordPress Starter, and on Webspace Starter a backup before every bigger change.
Working with staging
Section titled “Working with staging”- Copy the live siteas a staging site
- Change on stagingupdates, plugins, design
- Testclick through everything
- All good?
- Back up the live site
- Push liveto your domain
Creating a staging site
Section titled “Creating a staging site”- In the web panel, open Websites and click Add new.
- Choose Clone a website and then your live site as the source. (For a completely new project, Start from scratch or Install an app also work.)
- Tick Make this a staging site.
- Confirm with Add. The staging site appears in the list marked STG and has its own address.
With WordPress you can also create a copy via WP Toolkit.
Working on the staging site
Section titled “Working on the staging site”- Open the staging address and log in to the copy’s WordPress admin (
/wp-admin). Users and passwords are the same as on the live site at the time of the copy. - Install updates, test plugins, build the new design.
- Check the most important flows: home page, menu, contact form, and for shops the cart and checkout.
Pushing staging live
Section titled “Pushing staging live”- Create a backup of the live site, or check that the latest backup is current.
- Open Websites and click the staging site.
- On its dashboard, choose Push live.
- In the dialog, enter the live site’s domain and confirm.
- Afterwards check the live site, clear caches and look at the PHP error log.
Cloning a website
Section titled “Cloning a website”- Open Websites and click Add new.
- Choose Clone a website and the website to be copied.
- Leave Make this a staging site unticked.
- Enter the domain for the clone (or use the preview address at first) and confirm with Add.
All files and databases are copied. Email mailboxes are not copied. With WordPress you have to switch the address in the clone to the new domain; otherwise it redirects to the original site – see Correcting the WordPress address.
Frequently asked questions
Section titled “Frequently asked questions”Will my staging site be found on Google?
Section titled “Will my staging site be found on Google?”Staging sites are blocked for search engines by default. Still, do not link the staging address publicly anywhere.
I do not see the “Make this a staging site” option.
Section titled “I do not see the “Make this a staging site” option.”Then your plan does not include staging (Webspace Starter) or your allowance is used up. Delete a staging site you no longer need, or change your plan (Changing plans).
Can I simply delete a staging site?
Section titled “Can I simply delete a staging site?”Yes. It has no effect on the live site. Delete staging sites you no longer need – they contain a copy of your data.
The staging site shows a certificate warning.
Section titled “The staging site shows a certificate warning.”The SSL certificate for new addresses can take a few minutes. Wait a moment and reload.