You can change the domain used for yout HubSpot content by adding it to your domain manager, then setting it as the new primary domain for your content.
In your HubSpot Marketing Basic, Professional, or Enterprise account, navigate to Content > Content Settings.
Navigate to Domain Manager in the left sidebar menu.
Click Connect domain.
- Under How do you want to use this domain? select Have it redirect to this domain: and choose your current primary domain from the dropdown. Click Connect domain at the bottom.
- Update your DNS records to complete taking your domain live with HubSpot.
- Once you've set up the CNAME record with your DNS provider, navigate back to your domain manager and click Edit next to your new domain.
- Choose the tools for which you'd like to set your domain as primary and click Save changes.
This will set up an automatic redirect from the domain that was previously the primary domain for the content tool(s) you've selected. Additionally, you may need to update the target domain for your account. You can read more about these changes and other steps to consider here.
Please note: previous website visits to the old domain will still appear in your analytics in HubSpot. You will still be able to view the old URLs in Page Performance and 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.