# Clone website for testing

**URL:** <https://community.hubspot.com/t/clone-website-for-testing/54776>\
**Category:** CMS Development\
**Created:** [April 11, 2022, 2:50pm UTC](https://community.hubspot.com/t/clone-website-for-testing/54776 "2022-04-11T14:50:00Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![SarahOps](https://avatars.discourse-cdn.com/v4/letter/s/b77776/32.png) [@SarahOps](https://community.hubspot.com/u/SarahOps)\
**Post date:** [April 11, 2022, 2:50pm UTC](https://community.hubspot.com/t/clone-website-for-testing/54776/1 "2022-04-11T14:50:00Z")

</div>

Hi,

My company’s website is managed through HubSpot. Is it possible to clone my website and use the clone version as a testing environment before I publish my content on the real website? The preview feature of HubSpot CMS is too limited. I often only discover mistakes once my page is published so looking for a work-around as close to a staging environment as possible. Any recommendations welcome. Thanks, Eugenie

---

<div class="post-metadata">

**Author:** ![albertsg](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/albertsg/32/99473_2.png) [@albertsg](https://community.hubspot.com/u/albertsg)\
**Post date:** [April 11, 2022, 5:58pm UTC](https://community.hubspot.com/t/clone-website-for-testing/54776/2 "2022-04-11T17:58:39Z")

</div>

Hi @SarahOps, you can definetely clone a Website for testing purposes, just click the Clone button.

 ![albertsg_0-1649699632869.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/c/a/ca7725ba62d98fc6673ef91cce20b11e9fc9d527.png)

If you want to publish it just for testing, then I recommend adding “noindex, nofollow” meta tags. Here’s an article about it: [Using Noindex, Nofollow HTML Metatags: How to Tell Google Not to Index a Page in Search](https://blog.hubspot.com/marketing/how-to-unindex-pages-from-search-engines)  
BUT here’s the catch, this will only allow you to test content on the page.

If what you want is to update the code, you should clone your template also and assign it to the new cloned page. The reason why is that if you update the template, it will affect all pages under this template.

---

<div class="post-metadata">

**Author:** ![SarahOps](https://avatars.discourse-cdn.com/v4/letter/s/b77776/32.png) [@SarahOps](https://community.hubspot.com/u/SarahOps)\
**Post date:** [April 12, 2022, 8:36am UTC](https://community.hubspot.com/t/clone-website-for-testing/54776/3 "2022-04-12T08:36:52Z")

</div>

Hi @albertsg ,

Thanks for the tip. If my understanding is correct, this is on a page-by-page basis correct? Do you know if there is a way I could clone the whole website in 1 click? Also, as a follow-up question, if a page is “noindex” and “nofollow”, and it contains a form, would I still be able to test the form? Thanks

---

<div class="post-metadata">

**Author:** ![albertsg](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/albertsg/32/99473_2.png) [@albertsg](https://community.hubspot.com/u/albertsg)\
**Post date:** [April 12, 2022, 8:59am UTC](https://community.hubspot.com/t/clone-website-for-testing/54776/4 "2022-04-12T08:59:32Z")

</div>

Hi again @SarahOps, I believe there is no “one button” way to clone the whole site, you would need to do it page by page.

Maybe it’s worth to set up a Sandbox account to test everything before release it to production. Here you have more info about it: [Create a sandbox and deploy changes to production](https://knowledge.hubspot.com/account/set-up-a-hubspot-sandbox-account)  
Regarding the follow-up question, noindex - nofollow just avoids this page to be indexed, but it won’t prevent any functionality to work. So if you have a form in the page, it will work as it works in the “main” page.

---

<div class="post-metadata">

**Author:** ![SarahOps](https://avatars.discourse-cdn.com/v4/letter/s/b77776/32.png) [@SarahOps](https://community.hubspot.com/u/SarahOps)\
**Post date:** [April 12, 2022, 9:47am UTC](https://community.hubspot.com/t/clone-website-for-testing/54776/5 "2022-04-12T09:47:23Z")

</div>

Hi @albertsg, understood, thank you!

Re. Sandbox account, I have a sandbox account set up already. Do you know if it is possible to connect the same website domain to a production and sandbox account?

Thanks,

Eugenie

---

<div class="post-metadata">

**Author:** ![albertsg](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/albertsg/32/99473_2.png) [@albertsg](https://community.hubspot.com/u/albertsg)\
**Post date:** [April 12, 2022, 9:54am UTC](https://community.hubspot.com/t/clone-website-for-testing/54776/6 "2022-04-12T09:54:08Z")

</div>

I don’t think it’s possible to connect the same domain to both accounts. But Hubspot Support could give you more information about this, maybe they have a different approach to your question 🙂

---

<div class="post-metadata">

**Author:** ![SarahOps](https://avatars.discourse-cdn.com/v4/letter/s/b77776/32.png) [@SarahOps](https://community.hubspot.com/u/SarahOps)\
**Post date:** [April 12, 2022, 11:31am UTC](https://community.hubspot.com/t/clone-website-for-testing/54776/7 "2022-04-12T11:31:59Z")

</div>

To reduce fraud or cyber-crime risks, Arteris IP will never instruct you to change wire payment instructions or bank account details using email or fax. If you receive such an email or fax appearing to be from Arteris IP, please call your Arteris IP’s contact to verify. Please do not verify by email.
