CMS-General

Change the primary domain for your HubSpot content

Last updated: November 1, 2018

Applies to:

Marketing Hub
marketing-basic-pro-enterprise
Professional, Enterprise
Legacy Marketing Hub Basic

You can change the domain used for your HubSpot content by adding it to your domain manager, then setting it as the new primary domain for your content. Additionally, Marketing Hub Enterprise accounts can use different domains for individual blogs, landing pages, and website changes.

Domain manager changes

To change the primary domain for a content type:

  • In your HubSpot account, click the settings icon settings in the main navigation bar.
  • In the left sidebar menu, navigate to 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.

Depending on your Marketing Hub subscription and if you modify the domains for your other content types, 301 redirects may automatically be set up to redirect visitors who try to access your content at the old page URLs.

  • Marketing Hub Basic: when you replace the primary domain for your content, the original domain will remain connected in your account as a redirected domain, and 301 redirects will automatically be set up for all of your existing content. If you have set up any 301 redirects in the URL mappings tool, no new redirects will be created for those pages when you replace the primary domain for your content.
  • Marketing Hub Professional and Enterprise:
    • If you replace the primary domain for all of your content types, 301 redirects will automatically be set up from the original URLs of your existing content. The original domain will remain connected as a redirected domain for Marketing Hub Professional accounts, and as a secondary domain for Marketing Hub Enterprise accounts
    • If you replace the primary domain for only one or some of the content types on a domain, the original domain will not become a redirecting domain, and 301 redirects will not automatically be set up from the original URLs of your existing content. You can use the URL mappings tool to set up redirects for your existing content.

Target domain and analytics

You may need to update the target domain for your account. Previous website visits to the old domain will still appear in your analytics in HubSpot, and you'll be able to view the old URLs in your page performance data. The visit data will remain in your sources report. However, you'll no longer be able to sort your visits by your old domain if it is no longer a primary domain in your domain manager.

Page-level domain changes (Marketing Hub Enterprise accounts only)

If you have Marketing Hub Enterprise account, you can select different primary domains for your individual blogs, landing pages, and website pages.

Select different domains for individual blogs

  • In your HubSpot account, click the settings icon settings in the main navigation bar.
  • In the left sidebar menu, navigate to Website > Blog.  
  • In the upper left, click the Select a blog to modify dropdown menu and select a blog.
User-added image
  • Click the Blog root URL dropdown menu and select a domain.
  • In the bottom left, click Save.

Select different domains for individual landing pages and website pages

  • In your HubSpot account, navigate to website pages or landing pages.  
  • Hover over a page and click Edit.
  • Click the Settings tab.
  • In the Page URL field, click the pencil icon edit.
  • In the dialog box, click Update.
  • In the Page URL field, click the domain dropdown menu and select a new domain.

  • In the upper right, click Update to take the URL change live.