{"id":1290,"date":"2021-04-19T15:59:27","date_gmt":"2021-04-19T12:59:27","guid":{"rendered":"https:\/\/www.scalahosting.com\/kb\/?p=1290"},"modified":"2026-02-27T15:25:09","modified_gmt":"2026-02-27T13:25:09","slug":"how-to-create-a-staging-site","status":"publish","type":"post","link":"https:\/\/www.scalahosting.com\/kb\/how-to-create-a-staging-site\/","title":{"rendered":"How to Create a Staging Site"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><span style=\"font-weight: 400;\">A staging site is a testbed where you can check whether any changes you&#8217;ve planned for your website work as expected.<\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"font-weight: 400;\">For example, if you&#8217;re thinking of installing a plugin on a WordPress project, you&#8217;ll likely want to confirm that it doesn&#8217;t create any compatibility issues with other themes and add-ons. With a staging site, you have an identical environment as your main project, so you can test if everything works fine before pushing the new plugin to production.<br><\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Let&#8217;s have a look at the different options for creating a staging environment.<span style=\"font-weight: 400;\"><br><\/span><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><b><strong>Creating a Staging Site via the WordPress Manager<\/strong><\/b><\/h2>\n\n\n\n<p class=\"alert-blue wp-block-paragraph\"><strong>IMPORTANT<\/strong>: Before creating a staging area, make sure to <strong>back up your entire website data<\/strong>. This is essential to avoid any possible issues.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you use one of ScalaHosting\u2019s <a href=\"https:\/\/www.scalahosting.com\/managed-cloud-hosting.html\">SPanel managed VPS plans<\/a>, you have an easy way of creating a staging environment for your WordPress project. The unique WordPress \u041canager is equipped with this sort of functionality, and we\u2019ll now show you just how easy it is to take advantage of it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here are the steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Access your <strong>SPanel <\/strong>control panel<\/li>\n\n\n\n<li>Navigate to the <strong>WordPress Manager<\/strong> under the <strong>Software <\/strong>section.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large mpg-gallery\"><img decoding=\"async\" width=\"1024\" height=\"515\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/SPanel-Home-All-in-one-Web-Hosting-Platform-02-26-2026_03_20_PM-1024x515.webp\" alt=\"How to Create a Staging Site, Creating a Staging Site via the WordPress Manager\" class=\"wp-image-5992\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/SPanel-Home-All-in-one-Web-Hosting-Platform-02-26-2026_03_20_PM-1024x515.webp 1024w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/SPanel-Home-All-in-one-Web-Hosting-Platform-02-26-2026_03_20_PM-300x151.webp 300w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/SPanel-Home-All-in-one-Web-Hosting-Platform-02-26-2026_03_20_PM-768x387.webp 768w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/SPanel-Home-All-in-one-Web-Hosting-Platform-02-26-2026_03_20_PM.webp 1200w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li>All of your WordPress installations under the specific account, will be listed there.<\/li>\n\n\n\n<li>Click on the <strong>Actions<\/strong> button.<\/li>\n\n\n\n<li>Select the <strong>Stage <\/strong>option.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large mpg-gallery\"><img decoding=\"async\" width=\"1024\" height=\"515\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/SPanel-WordPress-Manager-All-in-one-Web-Hosting-Platform-02-26-2026_03_21_PM-1024x515.webp\" alt=\"How to Create a Staging Site, Creating a Staging Site via the WordPress Manager 2\" class=\"wp-image-5993\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/SPanel-WordPress-Manager-All-in-one-Web-Hosting-Platform-02-26-2026_03_21_PM-1024x515.webp 1024w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/SPanel-WordPress-Manager-All-in-one-Web-Hosting-Platform-02-26-2026_03_21_PM-300x151.webp 300w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/SPanel-WordPress-Manager-All-in-one-Web-Hosting-Platform-02-26-2026_03_21_PM-768x387.webp 768w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/SPanel-WordPress-Manager-All-in-one-Web-Hosting-Platform-02-26-2026_03_21_PM.webp 1200w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n\n\n\n<ol start=\"6\" class=\"wp-block-list\">\n<li>A pop-up window will be shown from which you might select either:<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">&#8211; The stage environment can be generated in a pre-selected subdomain name like &#8216;wordpress.domain.com&#8217;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">or<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&#8211; Create a new subdomain with the desired name.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large mpg-gallery\"><img decoding=\"async\" width=\"1024\" height=\"515\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/SPanel-WordPress-Manager-All-in-one-Web-Hosting-Platform-02-26-2026_03_22_PM-1024x515.webp\" alt=\"How to Create a Staging Site, Creating a Staging Site via the WordPress Manager 3\" class=\"wp-image-5994\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/SPanel-WordPress-Manager-All-in-one-Web-Hosting-Platform-02-26-2026_03_22_PM-1024x515.webp 1024w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/SPanel-WordPress-Manager-All-in-one-Web-Hosting-Platform-02-26-2026_03_22_PM-300x151.webp 300w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/SPanel-WordPress-Manager-All-in-one-Web-Hosting-Platform-02-26-2026_03_22_PM-768x387.webp 768w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/SPanel-WordPress-Manager-All-in-one-Web-Hosting-Platform-02-26-2026_03_22_PM.webp 1200w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n\n\n\n<ol start=\"7\" class=\"wp-block-list\">\n<li>Click on <strong>Stage <\/strong>to finish the installation.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Now that you have a staging area, you can test any changes without disrupting the operation of your live site.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Creating a Staging Environment for a Non-WP Site<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"font-weight: 400;\">Cloning a WordPress site is easy because you&#8217;ve got plenty of tools that can automate the process for you. However, if you have a custom website or use another CMS, these tools may not be at your disposal. If that&#8217;s the case, you&#8217;ll need to manually clone your website.<\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It&#8217;s nowhere near as easy as using a plugin or another automated tool, but it&#8217;s not exactly difficult, either. Here&#8217;s what you need to do.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>1. Copy your site&#8217;s files and paste them in the clone site&#8217;s location.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Because FTP clients like FileZilla present some limitations when it comes to copying files on the server, it&#8217;s best to use your web hosting control panel&#8217;s File Manager. Navigate to your site&#8217;s files, select all files and folders, and use the <strong>Copy <\/strong>button to save them in the server&#8217;s clipboard.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1024\" height=\"522\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/354-1024x522.png\" alt=\"How to Create a Staging Site, Creating a Staging Environment for a Non-WP Site\" class=\"wp-image-4039\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/354-1024x522.png 1024w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/354-300x153.png 300w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/354-768x392.png 768w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/354-1536x783.png 1536w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/354.png 1906w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\"><strong>2. Create the staging folder.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You&#8217;ll need to paste the files in the staging directory. If you&#8217;re going to use a subfolder (e.g., <em>yourdomain.com\/stage<\/em>), you can create the folder from the file manager. If you want to host the clone under a subdomain (e.g., <em>dev.yourdomain.com<\/em>), you need to set up a subdomain and keep note of its document root.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"609\" height=\"206\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/355.png\" alt=\"How to Create a Staging Site, Creating a Staging Environment for a Non-WP Site 2\" class=\"wp-image-4040\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/355.png 609w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/355-300x101.png 300w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\"><strong>3. Paste the files and folders into the new folder.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The time you&#8217;ll need to wait for the transfer to complete depends on your site&#8217;s size and the server&#8217;s hardware resources.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>4. Export your site&#8217;s data.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">With the files copied, it&#8217;s time to clone your site&#8217;s database as well. It&#8217;s important to create a separate database for the clone site, as that way, you&#8217;ll ensure that any changes you make to the staging site won&#8217;t affect the production environment.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To export your site&#8217;s database, you need to open <strong>phpMyAdmin<\/strong>, select the correct database, and go to <strong>Export<\/strong>. You can use the quick settings and save the data to your local computer as an SQL file.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1024\" height=\"407\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/356-1024x407.png\" alt=\"How to Create a Staging Site, Creating a Staging Environment for a Non-WP Site 3\" class=\"wp-image-4041\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/356-1024x407.png 1024w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/356-300x119.png 300w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/356-768x306.png 768w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/356.png 1214w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\"><strong>5. Create a new MySQL database and user.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You next need to create an empty database into which you&#8217;ll import your site&#8217;s data. A MySQL user is also required so your staging website can communicate with it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">SPanel users can create a database and user via the <strong>MySQL <\/strong><strong>databases<\/strong> tool available on the User Interface&#8217;s homepage.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"846\" height=\"912\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/357.png\" alt=\"How to Create a Staging Site, Creating a Staging Environment for a Non-WP Site 4\" class=\"wp-image-4042\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/357.png 846w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/357-278x300.png 278w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/357-768x828.png 768w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\"><strong>6. Import your site&#8217;s data into the new database.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You now need to go back to phpMyAdmin, select the new database, and go to the <strong>Import<\/strong> tab. The interface shows you a variety of different options and explains in detail what each of them works. In most cases, however, you simply need to click the <strong>Choose File <\/strong>button and select the SQL file you exported earlier.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1024\" height=\"535\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/358-1024x535.png\" alt=\"How to Create a Staging Site, Creating a Staging Environment for a Non-WP Site 5\" class=\"wp-image-4043\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/358-1024x535.png 1024w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/358-300x157.png 300w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/358-768x401.png 768w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/358-1536x802.png 1536w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/358.png 1678w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\"><strong>7. Configure the staging site to work with your new database.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Finally, you need to tell the clone site which database to work with. How you&#8217;re going to go about this depends on how your website is built. Most likely, you&#8217;ll need to edit a configuration file, though in some cases, you might also need to modify some entries in the database to make the clone site work with its URL.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A staging site is a testbed where you can check whether any changes you&#8217;ve planned for your website work as expected. For example, if you&#8217;re thinking of installing a plugin on a WordPress project, you&#8217;ll likely want to confirm that it doesn&#8217;t create any compatibility issues with other themes and add-ons. With a staging site, [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","_seopress_robots_follow":"","_seopress_robots_imageindex":"","_seopress_robots_snippet":"","_seopress_robots_primary_cat":"none","_seopress_robots_breadcrumbs":"","_seopress_robots_freeze_modified_date":"","_seopress_robots_custom_modified_date":"","_seopress_robots_canonical":"","_seopress_social_fb_title":"","_seopress_social_fb_desc":"","_seopress_social_fb_img":"","_seopress_social_fb_img_attachment_id":0,"_seopress_social_fb_img_width":0,"_seopress_social_fb_img_height":0,"_seopress_social_twitter_title":"","_seopress_social_twitter_desc":"","_seopress_social_twitter_img":"","_seopress_social_twitter_img_attachment_id":0,"_seopress_social_twitter_img_width":0,"_seopress_social_twitter_img_height":0,"_seopress_redirections_value":"","_seopress_redirections_enabled":"","_seopress_redirections_enabled_regex":"","_seopress_redirections_logged_status":"both","_seopress_redirections_param":"","_seopress_redirections_type":301,"_seopress_analysis_target_kw":"","_seopress_news_disabled":"","_seopress_video_disabled":"","_seopress_video":[],"_seopress_pro_schemas_manual":[],"_seopress_pro_rich_snippets_disable_all":"","_seopress_pro_rich_snippets_disable":[],"_seopress_pro_schemas":[],"footnotes":""},"categories":[67],"tags":[],"class_list":["post-1290","post","type-post","status-publish","format-standard","hentry","category-getting-started"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts\/1290","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/comments?post=1290"}],"version-history":[{"count":10,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts\/1290\/revisions"}],"predecessor-version":[{"id":5995,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts\/1290\/revisions\/5995"}],"wp:attachment":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/media?parent=1290"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/categories?post=1290"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/tags?post=1290"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}