Skip to content
HostingSquad
To websitehostingsquad.nl
Search
EN

How do I create and use a staging website for WordPress?

Updated on

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.

Create a subdomain

  1. Log in to DirectAdmin

  2. Open Subdomain Management

    Under Account Manager, click Subdomain Management.

  3. Click Add Subdomain

    The Add New Subdomain window opens.

  4. Enter the name of the subdomain

    At Subdomain, type staging. DirectAdmin adds .uwdomeinnaam.nl itself.

  5. Create the subdomain

    Click Add Subdomain.

Create the staging website

  1. Open Installatron

    In DirectAdmin, under Extra Features, click Installatron Applications Installer.

  2. Open My Applications

    Click the My Applications tab.

  3. Click Clone for your website

    For the website you want to create a staging website of, click Clone.

  4. Choose the subdomain

    Under Destination, at Domain, choose https://staging.uwdomeinnaam.nl. Leave Folder (Optional) empty.

  5. Tick Create a Staging site?

    Installatron then shows the copy as a staging website of your live website.

  6. Make the copy

    Click +Clone.

Transfer changes to the live website

  1. Open My Applications

    In Installatron, click the My Applications tab.

  2. Click Sync for the live website

    For your live website, click Sync.

  3. Choose the staging website

    At Location, choose the staging website. Installatron lists the staging websites of this website first.

  4. 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.

  5. Have a backup made first

    At Backup, choose Yes, create a backup before performing the sync. If something goes wrong, you restore that backup.

  6. 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.

  1. Open My Applications

    In Installatron, click the My Applications tab.

  2. Click Sync for the staging website

    For the staging website, click Sync.

  3. Choose the live website

    At Location, choose your live website.

  4. Transfer the website

    Click +Sync.

Any questions? Contact us (in Dutch).

Related articles