In your HubSpot account, click the settings iconsettings in the main navigation bar.
In the left sidebar menu, navigate to Website>Domains & URLs.
If the domain you want to use as the new primary domain is not yet connected, connect the domain.
In the Primary domains section, click the Edit dropdown menu for the content type whose primary domain you are replacing. Then select Replace primary domain.
In the dialog box, click the Select a new primary domain dropdown menu and select the domain, then click Replace primary domain.
Please note: HubSpot will not create URL redirects when you make changes to your domains. However, if a domain becomes a redirect domain, then any traffic to that domain will be 301 redirected to the primary domain for the selected content type.
For example, if you want to change the primary domain for your HubSpot-hosted blog from www.domain.com to blog.domain.com, there are two possible scenarios:
If www.domain.com isn't used as a primary domain or secondary domain for any other content types, the domain manager will keep www.domain.com connected as a redirect domain. This will create 301 redirects from www.domain.com to blog.domain.com from the domain manager.
If you're hosting your blog and any other content types (i.e., landing pages) on www.domain.com, this domain won't be available to connect as a redirect domain. In this case you'll need to set up URL redirects for any existing blog content.
Change your brand domain and subdomain or top-level domain
If you're replacing your brand domain and subdomain or top-level domain (e.g. changing blog.taco.com to blog.burrito.org), you need to complete the following steps in this order: