Web Hosting Knowledge Base / Website Hosting: How-To

Staging a Wordpress website

A staging Wordpress website is a clone or duplicate of your live Wordpress website that is used for testing changes before making them live. In other words, it’s a copy of your website (usually in a subdomain like test.yourdomain.com) where you can make changes without altering your live website until you deploy them. Staging websites help you fix any unexpected errors so you don't break your live website.

With 2MHost, staging a website is very simple, here is what you need to do:

  1. Use your cPanel to create a staging subdomain, stick to dev.yourdomain.com, staging.yourdomain.com or test.yourdomain.com, in case of using commercial plugins or themes, usually the license will cover these subdomains too.

  2. Use your cPanel > Let's encrypt SSL to install an SSL certificate in the created subdomain.

  3. Back to cPanel home page, scroll down to the Wordpress Icon under 'Softaculous Apps Installer'. Click on the 'All Installation' icon on the top menu and find your live Wordpress installation.

  4. Click 'Create staging' icon of the live Wordpress.

  5. Fill in the 'Staging Wordpress' form carefully, for 'Choose Installation URL' field, choose the subdomain you created in the first step.
  6. You are done! an identical copy of your live website is created under the staging subdomain.
  7. Back to the list of installations, you can now login to the dashboard of the staging Wordpress, perform and test any changes you want and when ready, click on 'Push to live' icon to copy the staging website into the live website.

  8. If you are using any caching plugin, you may need to flush your cached data to see the changes in the live website.

Last update: Apr 30, 2022 21:22