How to Deploy a Staging Website to Production | BoldGrid
Last updated on

Once you’re happy with your new website and you’re ready to show it off to the world- and to your customers- it’s time to deploy your staging WordPress website to your production server. Follow these steps to make a copy of your staging site, and import it into your live website.

Important! Create a Backup Copy of your current website

Before deploying a staging website to production, it is absolutely vital to make sure that you have a full backup of your existing website, just in case you need to restore it if anything goes wrong.

  1. Log into your WordPress Dashboard on your live site, and install the Total Upkeep Plugin if you have not already done so.
  2. Navigate to Total Upkeep -> Backup Archives and click on Backup Site Now.
  3. If you have Total Upkeep Premiumyou should copy this backup archive to your Google Drive or Amazon S3 account.
  4. Click on View Details to ensure that all of your files are included within the archive.

Create a backup of your Staging Website

  1. Log into your BoldGrid Cloud WordPress staging website.
  2. Navigate to Total Upkeep -> Backup Archives and click on Backup Site Now.
  3. Click on View Details and ensure that all of your files are included within the archive, then click Get Download Link. 
  4. Copy the download link to your clipboard.

Deploy your staging website

  1. Log into your WordPress Dashboard on your live production website.
  2. Navigate to Total Upkeep -> Backup Archives and click on Upload Backup.
  3. Paste the URL into the Download URL address field and click upload.
  4. Once the upload is complete, click on View details -> Restore.
  5. Once the restoration is complete, you may need to log in again using the credentials from your staging website.

Congratulations! You’ve now deployed your BoldGrid Cloud WordPress Staging website to your live production server.

 

SIGNUP FOR

BOLDGRID CENTRAL  

   200+ Design Templates + 1 Kick-ass SuperTheme
   6 WordPress Plugins + 2 Essential Services

Everything you need to build and manage WordPress websites in one Central place.

4 thoughts on “How to Deploy a Staging Website to Production

  1. Hi, I’m getting this error message: Could not retrieve the remote file. It may not be a ZIP file, or the link is no longer valid.

    I followed the steps, did the back up but I’m not sure why this is happening or how to fix this.

    Help?

    • Hi Ali-

      Can you take a look at your backup log for one of the backups that you can’t download and share it here? You can find your backup logs at Total Upkeep > Tools > Logs. We might be able to spot any errors creating your backup from that.

      Other common possibilities for this issue are that your backup file is too large to download via the wp-admin interface, either that the filesize exceeds your PHP Post Max Size or the download takes longer than the PHP Time Limit. You can find those values in your WordPress Site Health Info under Tools > Site Health > Info > Server. If those limitations are preventing your download, your web host will likely have a tool to adjust those PHP values in your hosting control panel.

      • Ok, I took a look at my sites health and cleaned it up a bit. Tried the transfer again but this time I got this message:
        Connection timed out after 10001 milliseconds

        This is the log:

        [2020-12-15 04:42:02 UTC] PHP Version: 7.4.11
        [2020-12-15 04:42:02 UTC] WordPress Version: 5.6
        [2020-12-15 04:42:02 UTC] Total Upkeep version: 1.14.10
        [2020-12-15 04:42:02 UTC] --------------------------------------------------------------------------------
        [2020-12-15 04:42:02 UTC] Beginning ajax_url_import...
        [2020-12-15 04:42:12 UTC] Failed to download archive. Additional info: WP_Error Object
        (
            [errors] => Array
                (
                    [http_request_failed] => Array
                        (
                            [0] => cURL error 28: Connection timed out after 10001 milliseconds
                        )
        
                )

        [Edited for length]

        • Hi Ali-

          The message Connection timed out after 10001 milliseconds implies that your staging site isn’t able to communicate with your live site, perhaps due to a firewall or other connectivity error. Would you be able to start a new support forum thread or a premium support ticket and let us know the URL’s of your staging and live site so we can take a closer look?

Leave a Reply

Your email address will not be published. Required fields are marked *