Using Your Kinsta Staging Site Effectively

Why you need a WordPress staging site and how to set up a staging site properly on Kinsta.

Jay Allen
Jay Allen
May 15 · 6 min read
Picture: hobbit / Shutterstock

As regular readers know, I’m a big Kinsta fan. I use Kinsta to get fast, instantly scalable hosting for all of my WordPress sites.

Besides the speed, however, one of the things I love about Kinsta is how easy it is to create a staging version of your Web site. In this article, I talk a little bit about why a WordPress staging site is critical, how to create one on Kinsta, and some of the issues that might crop up while using one.

Why One-Click Staging Sites Are a Thing of Beauty

If your site is seeing thousands (or even hundreds) of visitors a day, you don’t want to make changes to it that could disrupt your users’ experience. Changes that can dramatically impact your site’s function include:

  • Activating a new plugin
  • Making changes to your theme
  • Replacing your theme entirely
  • Adding PHP code, such as custom functions (e.g., shortcodes)

For changes like this, it’s much safer to test out your changes on a second version of your site, separate from your live site. This is where staging sites come in. A staging site is simply a copy of your site that you can use for this testing, development, and experimentation. Once you’ve verified that a change works as you intended, you can then move it to your live site.

Creating a Staging Site in Kinsta

The good news is that it’s easy to create a staging site from your current live site. Just go to your Kinsta Dashboard and, in the upper right hand corner for your site, click Change Environment. If you change to the staging environment and none exists, Kinsta will create the staging environment for you.

Issues You May Encounter in Your Staging Site

Plugin Licenses Are Hard to Manage

I’ll talk a little bit below about how you can overcome this issue for some plugins.

Caching Issues Caused by Plugins (E.g., Autoptimize)

Make Your Staging Site a Proper Sub-Domain

In Kinsta, in your staging site, go to Domains and click Add Domains. Add in staging.<yoursite> to create your staging site hostname. For my site Unseen Japan, I entered:

Then, go to whoever manages your DNS and add a new A record pointing to the IP address of your staging site. (This can be found at the top of the Info tab for your staging site in My Kinsta.) Here’s how this looks if you use AWS Route 53 to manage your DNS.

Once that’s done and the domain name has propagated, you will need to make this new staging site name the staging site’s primary domain. In your domains list in My Kinsta, click the Make Primary button. If you don’t do this, then whenever you go to the new URL, you’ll simply be redirected back to the * URL that was created for you by default.

After making this change, if you had HTTPS enabled on the live site, you’re likely to get a security error in your Web browser. That’s because you need to generate an SSL certificate and turn on HTTPS for this sub-site. Fortunately, Kinsta makes this a one-click process.

Note that this still won’t get around licensing issues for certain products. For example, the WordPress design package Elementor (which I also swear by!) will complain there’s a domain mismatch and ask you to re-activate your license.

Unfortunately, at least in the case of Elementor, there’s no good solution for this unless you have a multi-site license. Elementor themselves recommend using a local version of WordPress as a staging site — an error-prone and hard-to-configure solution that doesn’t allow for group collaboration. Hopefully, this is something they change in the near future.

(Note: Since I first wrote this, Kinsta has come out with DevKinsta, which is a local development environment for WordPress that plays well with Kinsta hosting. I plan to write a review on it shortly!)

Password Protecting Your Staging Site

Fortunately, this is another thing that Kinsta makes ridiculously easy. Just go to Tools for your staging site and click the Password protection button to add a username and password.

Migrating Changes to Live

When it comes time to migrate changes, it’s better to simply make the same changes in live that you made in your staging site. It’s also a good idea to back out changes in staging you don’t intend to keep.

If you want to start fresh on your staging site, you can delete it and re-create it at any time in the Kinsta dashboard.

Staging sites will give you the confidence to make potentially daring changes to your WordPress sites in a safe space. If you don’t use them currently, try setting one up today!

Disclaimer: Links to Kinsta and other tools are affiliate links; I earn a commission at no additional cost to you if you purchase services.

Teaching technology is my passion. If you need a technical trainer or a technical writer for API docs, white papers, or case studies, contact me!


Everything connected with Tech & Code

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store