Knowledge Base

How to stage a website with the A2 Hosting staging plugin for cPanel

This article describes how to stage a website using the A2 Hosting staging plugin for cPanel.

The final procedure Going live with the changes overwrites your entire site. We strongly recommend that you create an offsite backup, including the files and database, before you start the staging process. For information about how to create a backup, please see this article.

Creating the staging copy

To create a staging copy, follow these steps:

  1. Log in to cPanel.
    If you do not know how to log in to your cPanel account, please see this article.
  2. In the Staging section of the cPanel home screen, click Site Staging. The plugin enumerates any WordPress and Joomla installations in your account.
  3. Next to the installation you want to modify, click Create Staging Copy.
  4. In the dialog box, type a directory name (for example, newsite).
    The following steps and procedures assume a directory named newsite, and the domain example.com.
  5. If there are any directories you do not want to copy, click Skip directories. For example, you may have a backup directory that is not needed for the proper functioning of the staging copy. Select the check boxes next to the directories you do not want to copy, and then click Continue.
  6. In the next dialog box, the new staging copy directory can be password protected so the site under revision is not accessible to the public while work is in progress. If you want password protection, complete the username and password fields. Alternatively, click Do not password protect.
  7. To create the staging copy, click Continue.
  8. Click Manage Copies to see the staging copies you have made.

Updating the staged copy

To update the staged copy, follow these steps:

  1. Log in to the administration account of your new staged site and make any necessary changes.
    For WordPress, the administration page is at http(s)://example.com/newsite/wp-admin, where example.com represents your domain name.
  2. To view the staged site with your new changes, go to http(s)://example.com/newsite, where example.com represents your domain name.

Going live with the changes

To make the changes live on your site, follow these steps:

  1. In the Staging section of the cPanel home screen, click Site Staging.
  2. Click Manage Copies for the software installation you just updated.
  3. Click the plus sign (+) icon to the right of the newly updated copy.
  4. Click Push To Live to push the updated site to the live site.
  5. Visit the live site to see the changes.