# Domain Swapping

**URL:** <https://community.hubspot.com/t/domain-swapping/106385>\
**Category:** Blog, Website & Page Publishing\
**Tags:** website-pages\
**Created:** [May 3, 2024, 5:05am UTC](https://community.hubspot.com/t/domain-swapping/106385 "2024-05-03T05:05:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MaxAllen](https://avatars.discourse-cdn.com/v4/letter/m/db5fbb/32.png) [@MaxAllen](https://community.hubspot.com/u/MaxAllen)\
**Post date:** [May 3, 2024, 5:05am UTC](https://community.hubspot.com/t/domain-swapping/106385/1 "2024-05-03T05:05:32Z")

</div>

Hi Community,

We currently have a subdomain set up as the primary domain within hubspot ([learn.website.com](http://learn.website.com)) - website / landing pages / blog / knowledge hub/ email.

We’re now looking to swap the primary domain over to the root domain ([website.com](http://website.com)).

Just looking to confirm;

- Will it convert all current URLs from [learn.website.com](http://learn.website.com) to [website.com](http://website.com).
- Is there an option to convert the [learn.website.com](http://learn.website.com) to a secondary domain
- Presuming redirects will be automatically set up in HubSpot for all [learn.website.com](http://learn.website.com) directing to equivalent [website.com](http://website.com) URL

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Crystal\_Hopper](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/crystal_hopper/32/91040_2.png) [@Crystal\_Hopper](https://community.hubspot.com/u/Crystal_Hopper)\
**Post date:** [May 3, 2024, 3:22pm UTC](https://community.hubspot.com/t/domain-swapping/106385/2 "2024-05-03T15:22:01Z")

</div>

Hi @MaxAllen!

I highly recommend you review this article (if you haven’t already):

[Change the primary domain for your HubSpot content](https://knowledge.hubspot.com/domains-and-urls/change-the-primary-domain-for-your-hubspot-content)

Specifically this callout box that begins:  
“ **Please note:** When you replace a primary domain, whether or not URL redirects are created depends on your domain configuration:”

There are quite a few moving pieces so I appreciate you’re taking time to understand the options.
