{"id":8024,"date":"2025-06-26T08:06:15","date_gmt":"2025-06-26T08:06:15","guid":{"rendered":"https:\/\/kb.cloudhostgeek.com\/?p=8024"},"modified":"2025-11-05T10:44:10","modified_gmt":"2025-11-05T10:44:10","slug":"how-can-we-mirror-live-website-to-a-subdomain-for-development","status":"publish","type":"post","link":"https:\/\/www.bigcloudy.com\/knowledge-base\/how-can-we-mirror-live-website-to-a-subdomain-for-development\/","title":{"rendered":"Creating a development environment by mirroring your website to a subdomain"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">Why you need a WordPress staging site ?<\/h3>\n\n\n\n<p>The primary purpose of a staging site is to verify that all updates from earlier environments function correctly before being released to the live website. This is why it\u2019s never a good idea to make major changes directly on your live site.<\/p>\n\n\n\n<p>In this guide, we\u2019ll show you how to create a development, or staging, version of your existing website. We\u2019ll set this up on a development subdomain to manage this part of the process. <\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Please follow these steps to create new subdomain:<\/h4>\n\n\n\n<ol class=\"wp-block-list\">\n<li>You will need to Create a subdomain that will need to use to for development version of a website. We&#8217;ll use dev.domain.com<\/li>\n\n\n\n<li>login to &#8220;cPanel >> File Manager&#8221; to copy files from public_html to created subdomain directory.<\/li>\n\n\n\n<li>Backup your Database using cPanel >> phpMyAdmin to local PC in .sql format<\/li>\n\n\n\n<li>Go to the &#8220;MySQL Databases&#8221; option in cPanel and create a new database<br>Create a new database user for the database<br>Add newly created database user to the database created for development website<br>Grant all permissions.<\/li>\n\n\n\n<li>Import backup to new database from local PC which was downloaded at &#8220;step 3&#8221;<\/li>\n\n\n\n<li>Locate the &#8220;options&#8221; table and update the siteurl as well home URL<\/li>\n<\/ol>\n\n\n\n<p>If you are using the different CMS. The system may not recognize the new settings right away, so some additional steps might be necessary<\/p>\n\n\n\n<p>You can now browse new subdomain to test development version of website and modify without it breaking the existing live website.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Why you need a WordPress staging site ? The primary purpose of a staging site is to verify that all updates from earlier environments function correctly before being released to the live website. This is why it\u2019s never a good idea to make major changes directly on your live site. In this guide, we\u2019ll show you how to create a development, or staging, version of your existing website. We\u2019ll set this up on a development subdomain to manage this part of the process. Please follow these steps to create new subdomain: If you are using the different CMS. The system may not recognize the new settings right away, so some additional steps might be necessary You can now browse new subdomain to test development version of website and modify without it breaking the existing live website.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"elementor_theme","format":"standard","meta":{"_acf_changed":false,"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"rop_custom_images_group":[],"rop_custom_messages_group":[],"rop_publish_now":"initial","rop_publish_now_accounts":[],"rop_publish_now_history":[],"rop_publish_now_status":"pending","footnotes":""},"categories":[5,111],"tags":[312,319,315,321,317],"class_list":["post-8024","post","type-post","status-publish","format-standard","hentry","category-cpanel","category-cpanel-website","tag-clone-website","tag-clone-website-cpanel","tag-staging-site","tag-website-redesign","tag-wordpress-staging","no-post-thumbnail"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.7 (Yoast SEO v26.8) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Creating a development environment by mirroring your website to a subdomain - CloudHostGeek Help Center<\/title>\n<meta name=\"description\" content=\"Learn how to safely redesign your website by creating a development (staging) version. Follow this step-by-step guide to clone your live site using a subdomain in cPanel for WordPress.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.bigcloudy.com\/knowledge-base\/how-can-we-mirror-live-website-to-a-subdomain-for-development\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Creating a development environment by mirroring your website to a subdomain\" \/>\n<meta property=\"og:description\" content=\"Learn how to safely redesign your website by creating a development (staging) version. Follow this step-by-step guide to clone your live site using a subdomain in cPanel for WordPress.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.bigcloudy.com\/knowledge-base\/how-can-we-mirror-live-website-to-a-subdomain-for-development\/\" \/>\n<meta property=\"og:site_name\" content=\"CloudHostGeek Help Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/BigCloudyHosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2025-06-26T08:06:15+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-11-05T10:44:10+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bigcloudypvtltd\" \/>\n<meta name=\"twitter:site\" content=\"@bigcloudypvtltd\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Creating a development environment by mirroring your website to a subdomain - CloudHostGeek Help Center","description":"Learn how to safely redesign your website by creating a development (staging) version. Follow this step-by-step guide to clone your live site using a subdomain in cPanel for WordPress.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.bigcloudy.com\/knowledge-base\/how-can-we-mirror-live-website-to-a-subdomain-for-development\/","og_locale":"en_US","og_type":"article","og_title":"Creating a development environment by mirroring your website to a subdomain","og_description":"Learn how to safely redesign your website by creating a development (staging) version. Follow this step-by-step guide to clone your live site using a subdomain in cPanel for WordPress.","og_url":"https:\/\/www.bigcloudy.com\/knowledge-base\/how-can-we-mirror-live-website-to-a-subdomain-for-development\/","og_site_name":"CloudHostGeek Help Center","article_publisher":"https:\/\/www.facebook.com\/BigCloudyHosting\/","article_published_time":"2025-06-26T08:06:15+00:00","article_modified_time":"2025-11-05T10:44:10+00:00","author":"admin","twitter_card":"summary_large_image","twitter_creator":"@bigcloudypvtltd","twitter_site":"@bigcloudypvtltd","twitter_misc":{"Written by":"admin","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"TechArticle","@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/how-can-we-mirror-live-website-to-a-subdomain-for-development\/#article","isPartOf":{"@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/how-can-we-mirror-live-website-to-a-subdomain-for-development\/"},"author":{"name":"admin","@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/#\/schema\/person\/378209d3259734d846716786afbc52b0"},"headline":"Creating a development environment by mirroring your website to a subdomain","datePublished":"2025-06-26T08:06:15+00:00","dateModified":"2025-11-05T10:44:10+00:00","mainEntityOfPage":{"@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/how-can-we-mirror-live-website-to-a-subdomain-for-development\/"},"wordCount":259,"commentCount":0,"publisher":{"@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/#organization"},"keywords":["clone website","clone website cPanel","staging site","website redesign","WordPress staging"],"articleSection":["cPanel","cPanel Website"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.bigcloudy.com\/knowledge-base\/how-can-we-mirror-live-website-to-a-subdomain-for-development\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/how-can-we-mirror-live-website-to-a-subdomain-for-development\/","url":"https:\/\/www.bigcloudy.com\/knowledge-base\/how-can-we-mirror-live-website-to-a-subdomain-for-development\/","name":"Creating a development environment by mirroring your website to a subdomain - CloudHostGeek Help Center","isPartOf":{"@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/#website"},"datePublished":"2025-06-26T08:06:15+00:00","dateModified":"2025-11-05T10:44:10+00:00","description":"Learn how to safely redesign your website by creating a development (staging) version. Follow this step-by-step guide to clone your live site using a subdomain in cPanel for WordPress.","breadcrumb":{"@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/how-can-we-mirror-live-website-to-a-subdomain-for-development\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.bigcloudy.com\/knowledge-base\/how-can-we-mirror-live-website-to-a-subdomain-for-development\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/how-can-we-mirror-live-website-to-a-subdomain-for-development\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.bigcloudy.com\/knowledge-base\/"},{"@type":"ListItem","position":2,"name":"Creating a development environment by mirroring your website to a subdomain"}]},{"@type":"WebSite","@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/#website","url":"https:\/\/www.bigcloudy.com\/knowledge-base\/","name":"https:\/\/www.bigcloudy.com\/","description":"Your step-by-step guide to hosting, servers &amp; website tools.","publisher":{"@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.bigcloudy.com\/knowledge-base\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/#organization","name":"BigCloudy internt services pvt ltd.","url":"https:\/\/www.bigcloudy.com\/knowledge-base\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/#\/schema\/logo\/image\/","url":"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-content\/uploads\/2024\/09\/cropped-BGC_logo.webp","contentUrl":"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-content\/uploads\/2024\/09\/cropped-BGC_logo.webp","width":368,"height":114,"caption":"BigCloudy internt services pvt ltd."},"image":{"@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/BigCloudyHosting\/","https:\/\/x.com\/bigcloudypvtltd","https:\/\/www.instagram.com\/bigcloudypvtltd\/"]},{"@type":"Person","@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/#\/schema\/person\/378209d3259734d846716786afbc52b0","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/42ea90e921e5926f1db3403e79195ea7c0e898504fd43555e6099a85c9c91443?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/42ea90e921e5926f1db3403e79195ea7c0e898504fd43555e6099a85c9c91443?s=96&d=mm&r=g","caption":"admin"},"sameAs":["https:\/\/kb.cloudhostgeek.com"]}]}},"_links":{"self":[{"href":"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/8024","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-json\/wp\/v2\/comments?post=8024"}],"version-history":[{"count":0,"href":"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/8024\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=8024"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-json\/wp\/v2\/categories?post=8024"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-json\/wp\/v2\/tags?post=8024"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}