To change the primary domain for your HubSpot-hosted content, add your new domain as a redirect domain first. Then replace your existing primary domain with the new domain. Marketing Hub Enterprise accounts can use different subdomains for individual blogs, landing pages, and website pages.
These instructions are for replacing the primary subdomain or top-level domain for your content. In the example domain blog.taco.com, the subdomain is blog, the brand domain is taco and the top-level domain is com.
If you're changing your primary domain and want to use your new domain as the focus of your analytics, it's recommended to also update your company domain.
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.