COS-General

Change the primary domain used for your HubSpot content

Last updated: July 9, 2018

Applies to:

Marketing Hub: Basic, Pro, Enterprise

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 Enterprise users can select different domains for individual blogs, website pages, and landing pages. 

This article covers: 

Domain manager changes

If you wish to change which domain is the primary domain for a particular content tool type, follow the steps below:

  • In your HubSpot account, click the settings icon settings in the main navigation bar.
  • Click Domains & URLs in the left sidebar menu.
  • Click Connect a domain to take your subdomain live as a secondary domain. 
  • After your subdomain is connected, locate the content tool you want to connect it to in the Primary domains section, then click Edit Replace primary domain.

edit-replace-primary-domain

  • In the dialog box that appears, use the dropdown to select your newly-connected subdomain, then click Replace primary domain.

Your previous primary domain for this content tool will remain connected in your domain manager as a secondary domain. HubSpot will automatically create 301 redirects for your content, as long as the URLs have not been previously changed, redirected, or have absolute URLs in the URL mappings tool. It is advised to review your website for any remaining absolute URLs in order to create any mappings for these if necessary.

Target domain and analytics

You may need to update the target domain for your account. You can read more about these changes and other steps to consider here.

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 will 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 Enterprise users)

If you're a Marketing Enterprise user, you can select different primary domains for your blogs, website pages, and landing pages:

Select different domains for your blogs

If you have multiple blogs in HubSpot and would like to host them on different domains: 

  • In your HubSpot account, click the settings icon settings in the main navigation bar.
  • In the left sidebar, click Marketing > Blog.  
  • Choose a blog from the Select a blog to modify dropdown menu.


Select-a-blog
User-added image
  • Once you have selected a blog, under the General tab, select a new domain from the Blog root URL dropdown menu. 
  • Click Save

Select different domains for your website pages and landing pages 

  • In your HubSpot account, navigate to Content > Website Pages or Landing Pages
  • Hover over a page and click Edit
  • Click the Settings tab at the top of the page editor.  
  • Click the pencil icon below Page URL. Then select a new domain from the dropdown menu.
  • Click Update in the upper right-hand corner to make this change live. Repeat these steps for all landing pages and website pages you would like to change domains for.

User-added image

Was this article helpful?

If you still need help you can get answers from the , or to contact support.