There was a problem loading the comments.

How to Set Up a WordPress Staging Site

Support Portal  »  Knowledgebase  »  Viewing Article

  Print
A WordPress staging website is an exact replica of existing website. Only key differences between current and staging website is that, the staging website is not live or publicly available, and updates made on staging site have no effect on your current site.

Thus, you can test the changes to WordPress site without breaking it. That means you can try new themes, plugins, code snippets, and more with zero risk. In this post, we’ll show you how to setup WordPress staging site so that you can always test the changes before you push them to your live site. We will be taking an example of a WordPress installation and stage the WordPress installation to a subdirectory called "wp".

Setting up Staging Environment

To create a staging environment in Softaculous, you must first add either a subdomain or addon domain from cPanel. The first option for creating an space for staging is to create a subdomain for your site in cPanel. For instance, if your main domain is example.com, you can add a staging.example.com subdomain to test an environment. Similarly, the second option for creating a space for staging is to create an addon domain.

It's highly recommended that you take necessary backup of your site before creating staging. With cPanel, you can take backups either via Softaculous or cPanel backup wizard.

  1. Log in to cPanel.

  2. In the SOFTACULOUS APPS INSTALLER section of the cPanel home screen, click any of the options under Categories. The Softaculous installer page will appear. In Softaculous installer page, click on the All Installations page as shown in below screen capture.

    d0102167bac255ff6824bb5b0f9990240f8b82d6?t=8554b096fc35cdb51ae75d9850babf17

  3. Choose the installation that needs to be staged. If your installation is not visible in Softaculous, you may need to import it first. Click the Create Staging icon for the selected installation.

    9c3566dda2564b85cb32d0c2e8d54ddf2565977f?t=0e1a5757437e055a1f45cb12acda7cb9




  4. On the next screen, you'll be see current live installations and a form requiring details about the staging copy you want to create. Complete the staging installation details, such as Choose Protocol, Choose Domain (this would be the staging subdomain you’ve previously created in step one,) the In Directory, and the Database Name. Click Create Staging to start the process. Please be patient as it may take some time according to the size of your installation.

    11596dd4053f0b6b7766cf0218fd107e69c62a44?t=e0d0a29a2379029cde7d5d4472e61e01

  5. Your staging copy is ready. You can login to the WordPress admin panel with the same credentials as in the live installation. You can login to dashboard and make changes, once you are satisfied with the changes in staging copy, you can now Push these changes to your live website by clicking Push to Live button.

    1a5a493dc0cba1c48f9a72c50d6ef89beb024e55?t=adc1eb40ea7a8ed2a017fef62eb899f9

Share via
Thank you for your feedback on this article.

Related Articles

© Softsys Hosting