Creating a WordPress staging environment
A staging environment is a copy of your WordPress website on which you can safely test changes, such as a new theme or an update. If you are happy with the result, you push the changes to your live website. You make the copy with Installatron in DirectAdmin (Web Hosting and Reseller Hosting) or with WP Toolkit in Plesk (WordPress Hosting).
Enter a domain name, such as yourdomain.nl.
This value doesn’t fit here. An example: whs1.
Creating the staging environment
Web Hosting (DirectAdmin)
Also for Reseller Hosting. For a WordPress website that you installed with Installatron.
- Log in to DirectAdmin via Single Sign-On from Mijn xYnta, or at
https://yourdomain.nl:2222. - Under Extra Features, click Installatron Applications Installer and then the My Applications tab.
- Click Clone next to your WordPress website.
- Under Destination, choose your domain at Domain and enter a folder that does not exist yet at Folder (Optional), for example
staging. - At Create a Staging site?, tick the option Yes, the cloned installation will be a used for development and testing purposes, with the ability to sync changes with the live installation.
- Leave the rest as it is and click Clone at the bottom.
Installatron shows the progress; this usually takes a few minutes. The copy then appears under My Applications, marked as staging. The login link next to the copy logs you in without a password.

WordPress Hosting (Plesk)
- Log in to Plesk at
https://whs1.srvnl.nl:8443. You can find your server name in How can I find the server name of my hosting package? - Click WordPress in the menu on the left.
- Click Clone for your website.
- At Target, choose where the copy goes: Create subdomain (the default, named
staging) or Use existing domain with a folder. - Leave the Name under Database as it is and click Start.
Plesk reports at the bottom right that the website has been cloned. The copy then appears as a separate website in the WP Toolkit list.

Pushing the changes to your live website
Web Hosting (DirectAdmin)
Also for Reseller Hosting.
- Log in to DirectAdmin via Single Sign-On from Mijn xYnta, or at
https://yourdomain.nl:2222. - Under Extra Features, click Installatron Applications Installer and then the My Applications tab.
- Click Sync next to your live website.
- Under Source, choose your staging environment at Location.
- Under Destination, check which files and tables will be overwritten.
- The option Yes, create a backup before performing the sync. is selected: leave it selected.
- Click Sync.
WordPress Hosting (Plesk)
- Log in to Plesk at
https://whs1.srvnl.nl:8443. You can find your server name in How can I find the server name of my hosting package? - Click WordPress in the menu on the left.
- Click Copy Data for the staging environment.
- At Target, choose your live website.
- Under Data to Copy, Files and Database is selected, with Replace files modified on target ticked. Choose Files only or Database only if you only want to transfer part of it.
- Under Database Tables, All tables is selected, with Exclude content-related tables ticked. Leave it like that unless you know exactly which tables you want to transfer; you choose those with Selected tables.
- Under Restore, Create a restore point is ticked; you cannot switch it off.
- Click Start.
Plesk shows the progress at the bottom right.
Video



Related articles
Thank you for your feedback.

