{"id":1415,"date":"2023-12-16T22:50:33","date_gmt":"2023-12-16T22:50:33","guid":{"rendered":"https:\/\/neoxea.com\/blog\/?p=1415"},"modified":"2024-02-11T10:34:38","modified_gmt":"2024-02-11T10:34:38","slug":"staging","status":"publish","type":"post","link":"https:\/\/neoxea.com\/blog\/staging\/","title":{"rendered":"What is staging and why it matters for your website"},"content":{"rendered":"\n<p>Web development isn\u2019t a one-and-done thing. Most websites are living projects, constantly updated, fixed and improved; however, changing anything in a website carries a few risks, such as the potential to break pages, features or even the whole site. <strong>Staging <\/strong>is a way to avoid a disruption to the regular flow of your website and to test changes before they reach your users.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-what-is-staging\">What is staging<\/h2>\n\n\n\n<p>A <strong>staging server<\/strong> is essentially a duplicate of the production server, i.e. the server where the website lives for the users. In web development, staging is the second of three steps in the development, staging and production (DSP) model; as an example, sometimes developers work on a web app project such as a website \u201clocally\u201d (in their own computer, replicating a server) and then move that project to the server\u2014the staging server is a middle point where developers can test to see if there are any more bugs or fixes needed before moving it to the production side.<\/p>\n\n\n\n<p>Staging servers are handy because they allow developers to test the near-final website or any subsequent alterations, such as updates to a plugin or to the source code. They work by having an identical copy to the \u201clive\u201d website\u2014the site that users visit and interact with\u2014that you can test your changes in. So, for instance, you can add a new plugin or change site code without fear of breaking it for your users, making it unavailable and costing you time, money and customers.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-how-staging-works\">How staging works<\/h2>\n\n\n\n<p>A staging environment replicates the exact conditions of the production environment and lets you test out your website in real-life conditions before launching changes.<\/p>\n\n\n\n<p>Often, staging environments are also used after launching a website in order to test further changes before deploying them to the live website. In those conditions, the staging site is an exact copy of your live site that you can modify or update, then push those changes into your live site\u2014or, alternatively, scrap those changes and make a new fresh copy of your live site to replace the staging one you\u2019ve been messing with.<\/p>\n\n\n\n<p>One point to note is that deploying from staging to live is usually a manual action, because you don\u2019t want to risk testing something that breaks a feature and then have it move automatically to your live website. Likewise, most services that offer a staging environment let you essentially \u201creset\u201d your staging environment to the current condition of your live site with a single click, so you can discard changes you\u2019ve made without having to deploy them, much like closing a document without saving.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-why-you-need-staging-for-your-website\">Why you need staging for your website<\/h2>\n\n\n\n<p>If you\u2019ve ever carelessly updated or installed something on your website only to see it immediately break and then have to spend hours trying to fix it (or paying someone exorbitant amounts to do so), then the need for staging is probably self-explanatory.<\/p>\n\n\n\n<p>As mentioned, the biggest reason staging is necessary is for <strong>stability.<\/strong> Web development is volatile and things often break, even more so with content management systems (CMS) that have a multitude of plugins. One update can break something or even many things, so you need to make sure it works before committing to it.<\/p>\n\n\n\n<p>For instance, let\u2019s say you have a WordPress e-commerce website for your business and you can\u2019t risk it being down. If a big new update to WordPress or to one of your plugins, such as the WooCommerce e-commerce platform, comes along, you <em>should<\/em> update for new features and security fixes, but there\u2019s a risk that it may conflict or break something else on your site.<\/p>\n\n\n\n<p>What you do then is test out the update on the staging environment where you have a copy of your store. That way, you can test out that everything works, nothing was lost or broken, and only then proceed with said updates. And if something does break, and all of a sudden a feature doesn\u2019t work or, worse, your whole website is down in the staging server, it\u2019s no problem: you can just discard that instance and make a fresh copy of your live, perfectly working website to staging.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-how-to-set-up-a-staging-environment\">How to set up a staging environment<\/h2>\n\n\n\n<p>There are many ways to set up a staging environment, some manual and others automatic.<\/p>\n\n\n\n<p>If your Web Hosting service doesn\u2019t include a staging feature, you can still create an <em>ad hoc<\/em> staging website by creating a <strong>duplicate of your website<\/strong> on your hosting service and assigning a <strong>subdomain<\/strong> or a completely different <strong>custom domain<\/strong> to it. That means manually moving files and messing with databases, however, and also requires a lot more manual labor to get it working, not to mention a bigger chance of human error.<\/p>\n\n\n\n<p>Some WordPress backup plugins also offer a staging feature that lets you create said duplicate more easily, such as <a href=\"https:\/\/wordpress.org\/plugins\/wp-staging\/\" target=\"_blank\" rel=\"noreferrer noopener\">WP STAGING<\/a> and <a href=\"https:\/\/wordpress.org\/plugins\/duplicator\/\" target=\"_blank\" rel=\"noreferrer noopener\">Duplicator<\/a>. Ideally, though, you want a Web Hosting service that already contemplates staging in their service in one way or another. Neoxea includes a <strong>free<\/strong> staging environment in every single plan, even the cheapest, so that you can upgrade and improve your WordPress website without a worry. Plus, with our excellent support and free daily backups, you also know that, if things do go wrong, you\u2019ll always have help. <a href=\"https:\/\/neoxea.com\/wordpress-hosting\/\">Check our plans<\/a> or get in touch and find out how Neoxea can help your business thrive online.<\/p>\n\n\n<style>.kb-row-layout-id1958_9b7b8d-00 > .kt-row-column-wrap{align-content:start;}:where(.kb-row-layout-id1958_9b7b8d-00 > .kt-row-column-wrap) > .wp-block-kadence-column{justify-content:start;}.kb-row-layout-id1958_9b7b8d-00 > .kt-row-column-wrap{column-gap:var(--global-kb-gap-md, 2rem);row-gap:var(--global-kb-gap-none, 0rem );padding-top:var(--global-kb-spacing-sm, 1.5rem);padding-bottom:var(--global-kb-spacing-sm, 1.5rem);grid-template-columns:minmax(0, 1fr);}.kb-row-layout-id1958_9b7b8d-00 > .kt-row-layout-overlay{opacity:0.30;}@media all and (max-width: 1024px){.kb-row-layout-id1958_9b7b8d-00 > .kt-row-column-wrap{grid-template-columns:minmax(0, 1fr);}}@media all and (max-width: 767px){.kb-row-layout-id1958_9b7b8d-00 > .kt-row-column-wrap{grid-template-columns:minmax(0, 1fr);}}<\/style><div class=\"kb-row-layout-wrap kb-row-layout-id1958_9b7b8d-00 alignnone wp-block-kadence-rowlayout\"><div class=\"kt-row-column-wrap kt-has-1-columns kt-row-layout-equal kt-tab-layout-inherit kt-mobile-layout-row kt-row-valign-top\">\n<style>.kadence-column1958_62eb2d-49 > .kt-inside-inner-col,.kadence-column1958_62eb2d-49 > .kt-inside-inner-col:before{border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;}.kadence-column1958_62eb2d-49 > .kt-inside-inner-col{column-gap:var(--global-kb-gap-sm, 1rem);}.kadence-column1958_62eb2d-49 > .kt-inside-inner-col{flex-direction:column;}.kadence-column1958_62eb2d-49 > .kt-inside-inner-col > .aligncenter{width:100%;}.kadence-column1958_62eb2d-49 > .kt-inside-inner-col:before{opacity:0.3;}.kadence-column1958_62eb2d-49{position:relative;}@media all and (max-width: 1024px){.kadence-column1958_62eb2d-49 > .kt-inside-inner-col{flex-direction:column;justify-content:center;}}@media all and (max-width: 767px){.kadence-column1958_62eb2d-49 > .kt-inside-inner-col{flex-direction:column;justify-content:center;}}<\/style>\n<div class=\"wp-block-kadence-column kadence-column1958_62eb2d-49\"><div class=\"kt-inside-inner-col\"><style>.wp-block-kadence-spacer.kt-block-spacer-1958_649432-7f .kt-block-spacer{height:60px;}.wp-block-kadence-spacer.kt-block-spacer-1958_649432-7f .kt-divider{border-top-width:5px;height:1px;border-top-color:#3293e3;width:10%;border-top-style:solid;}<\/style>\n<div class=\"wp-block-kadence-spacer aligncenter kt-block-spacer-1958_649432-7f\"><div class=\"kt-block-spacer kt-block-spacer-halign-left\"><hr class=\"kt-divider\"\/><\/div><\/div>\n\n\n\n<p>Save time and money, plus make your website go faster with our next-generation cloud platform available in every Managed WordPress plan. This includes a high-performance web server, DDoS protection, malware and email spam mitigation, a free cache plugin, and the world&#8217;s fastest AMD CPU machines. Get started with no long-term contracts, free migrations, and a 30-day money-back guarantee.<br>Check out our <a href=\"https:\/\/neoxea.com\/pricing\/\">plans<\/a> or talk to <a href=\"https:\/\/neoxea.com\/contact-us\/\">sales<\/a> to find the right plan for you.<\/p>\n<\/div><\/div>\n\n<\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Web development isn\u2019t a one-and-done thing. Most websites are living projects, constantly updated, fixed and improved; however, changing anything in a website carries a few risks, such as the potential to break pages, features or even the whole site. Staging is a way to avoid a disruption to the regular flow of your website and&#8230;<\/p>\n","protected":false},"author":1,"featured_media":2247,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"categories":[27],"tags":[],"class_list":["post-1415","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress"],"taxonomy_info":{"category":[{"value":27,"label":"WordPress"}]},"featured_image_src_large":["https:\/\/neoxea.com\/blog\/wp-content\/uploads\/wordpress-staging.png",600,300,false],"author_info":{"display_name":"Rodolfo","author_link":"https:\/\/neoxea.com\/blog\/author\/blogxea\/"},"comment_info":0,"category_info":[{"term_id":27,"name":"WordPress","slug":"wordpress","term_group":0,"term_taxonomy_id":27,"taxonomy":"category","description":"","parent":0,"count":13,"filter":"raw","cat_ID":27,"category_count":13,"category_description":"","cat_name":"WordPress","category_nicename":"wordpress","category_parent":0}],"tag_info":false,"_links":{"self":[{"href":"https:\/\/neoxea.com\/blog\/wp-json\/wp\/v2\/posts\/1415","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/neoxea.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/neoxea.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/neoxea.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/neoxea.com\/blog\/wp-json\/wp\/v2\/comments?post=1415"}],"version-history":[{"count":0,"href":"https:\/\/neoxea.com\/blog\/wp-json\/wp\/v2\/posts\/1415\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/neoxea.com\/blog\/wp-json\/wp\/v2\/media\/2247"}],"wp:attachment":[{"href":"https:\/\/neoxea.com\/blog\/wp-json\/wp\/v2\/media?parent=1415"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/neoxea.com\/blog\/wp-json\/wp\/v2\/categories?post=1415"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/neoxea.com\/blog\/wp-json\/wp\/v2\/tags?post=1415"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}