How do I create and use a staging website for WordPress?
A staging website is a copy of your WordPress website on a subdomain, for example staging.uwdomeinnaam.nl. On it, you test changes and updates before applying them to your live website. This prevents your website from breaking or being temporarily unavailable for visitors.
Before you start
- You need your DirectAdmin login details.
- Your WordPress website is in Installatron; otherwise see How do I import WordPress into DirectAdmin?
- DirectAdmin is in English by default, so the menus and buttons in this article are named as you see them on screen. If your DirectAdmin is set to Dutch, DirectAdmin may show the Dutch names, such as Accountbeheer instead of Account Manager, Subdomein Beheer instead of Subdomain Management, Subdomein toevoegen instead of Add Subdomain and Extra Programma's instead of Extra Features. Installatron Applications Installer has the same name in both languages; Installatron itself then shows Dutch names, such as Mijn applicaties instead of My Applications.
Enter a domain name, such as uwdomeinnaam.nl.
Create a subdomain
Log in to DirectAdmin
Open Subdomain Management
Under Account Manager, click Subdomain Management.
Click Add Subdomain
The Add New Subdomain window opens.
Enter the name of the subdomain
At Subdomain, type
staging. DirectAdmin adds.uwdomeinnaam.nlitself.Create the subdomain
Click Add Subdomain.
Create the staging website
Open Installatron
In DirectAdmin, under Extra Features, click Installatron Applications Installer.
Open My Applications
Click the My Applications tab.
Click Clone for your website
For the website you want to create a staging website of, click Clone.
Choose the subdomain
Under Destination, at Domain, choose
https://staging.uwdomeinnaam.nl. Leave Folder (Optional) empty.Tick Create a Staging site?
Installatron then shows the copy as a staging website of your live website.
Make the copy
Click +Clone.
Transfer changes to the live website
Open My Applications
In Installatron, click the My Applications tab.
Click Sync for the live website
For your live website, click Sync.
Choose the staging website
At Location, choose the staging website. Installatron lists the staging websites of this website first.
Choose the files and tables
Choose which files and database tables Installatron transfers from the staging website. Anything shown in red is overwritten on the live website.
Have a backup made first
At Backup, choose Yes, create a backup before performing the sync. If something goes wrong, you restore that backup.
Transfer the changes
Click +Sync.
Copy the live website to the staging website
If you want to make the staging website the same as the live website again, you sync the other way round.
Open My Applications
In Installatron, click the My Applications tab.
Click Sync for the staging website
For the staging website, click Sync.
Choose the live website
At Location, choose your live website.
Transfer the website
Click +Sync.
Any questions? Contact us (in Dutch).
Related articles
Thank you for your feedback.

