How to Change the Hosting Domain for HubSpot Content

How to Change the Hosting Domain for HubSpot Content

Swapping out the hosting domain on your HubSpot site might seem straightforward—but behind the scenes, it’s a tightly orchestrated dance of redirects, DNS settings, and content path mapping. Get it wrong, and suddenly, your landing pages vanish, tracking breaks, or Google starts penalizing your SEO overnight.

You might be rebranding, merging microsites, or routing content to new regional domains. Whatever the reason, the key is knowing how HubSpot connects each URL to your content infrastructure. Every asset—whether it’s your homepage, blog, lead magnets, or knowledge base—is anchored in your current domain setup.

This walkthrough shows you what the hosting domain setting really controls, how to configure it correctly, and what to review before you hit the switch. Along the way, you’ll see how different teams manage domain changes and where INSIDEA steps in to make sure you don’t miss a beat.

 

Migrating HubSpot Content to a New Hosting Domain

When you change the hosting domain in HubSpot, you’re telling the system where your site lives—all your public-facing content, from landing pages to blogs and gated files.

You’ll find these controls inside your portal under Settings > Website > Domains & URLs. This dashboard is where you connect domains, assign primaries, and configure redirects. 

HubSpot breaks down domains into three operational types:

  • Primary domains serve as the main home for your content
  • Secondary domains help with localized or campaign-specific sites
  • Redirect domains forward old links to your active URLs

HubSpot maps each content tool (like your blog or knowledge base) to one of these domains. When you change a domain, you’re essentially pointing HubSpot to a new origin for rendering pages, serving assets, and generating tracking links.

That means your page URLs, analytics tags, and even cookies depend on the accuracy of this setup. DNS settings and SSL activation need to be airtight, or you risk losing visibility and trust.

 

How It Works Behind the Scenes

HubSpot acts as the bridge between your domain registrar (like GoDaddy, Google Domains, or Namecheap) and your live content. Once connected, HubSpot hosts your site content through its global CDN, with security and caching managed centrally.

Here’s a look at how the system handles a domain switch step-by-step:

What you need to start:

  • Access to your domain registrar’s DNS settings
  • An active HubSpot CMS portal with assigned content
  • Confirmation that SSL will auto-provision once verified

How the process flows:

  1. Inside Domains & URLs, you connect the new domain
  2. HubSpot shows you exactly which TXT and CNAME records to add
  3. You update those in your domain registrar’s DNS
  4. HubSpot verifies ownership and provisions SSL
  5. You assign the domain as the primary for your selected content types

The result:

  • All HubSpot URLs (like www.newsite.com/blog/post-name) now reflect the new domain
  • HubSpot creates redirects from old URLs if you opt in during setup
  • Your analytics tracking continues, assuming the HubSpot code remains consistently installed

If you’re managing multiple domain versions—regional, campaign-based, or language-specific—HubSpot lets you assign different domains to different content hubs using this same framework.

 

Main Uses Inside HubSpot

The reasons for changing domains aren’t just technical—they’re often tied to strategic shifts. Here’s how different teams use domain configuration to support business goals:

Marketing campaigns for a new brand domain

If your company is rebranding or launching a new product line, marketing may need a new domain to separate messaging.

Example: Let’s say your old campaign pages live at marketing.oldbrand.com. During a rebrand to marketing.newbrand.com, you connect the new domain, verify it, and set it as the primary domain for landing pages. Now, all new and existing campaigns automatically use secure, branded URLs aligned with the updated identity.

Regional websites for localized content

Expanding into global markets? Each region may need its own analytics, legal compliance (think cookie policies), and localized user experience.

Example: You add eu.brand.com as a secondary domain and set it as the publishing host for a European content group. Local teams can independently manage content while maintaining centralized reporting via HubSpot dashboards.

Consolidating multiple microsites

After a merger or internal restructuring, you may need to fold older sites into a single corporate domain without losing traffic or hurting SEO rankings.

Example: An old microsite at info.subbrand.com is absorbed into www.mainbrand.com. You redirect each page properly and update all HubSpot settings. SEO teams confirm that traffic transfers cleanly using 301 redirect chains, and the new structure supports stronger domain authority.

 

Common Setup Errors and Wrong Assumptions

Even seasoned admins sometimes miss key steps in the domain switch process. Here’s where teams often slip up—and how to avoid costly mistakes:

Error: Skipping the DNS CNAME updates
If you forget to update DNS with HubSpot’s exact records, the domain won’t verify.
Fix: Use the DNS settings provided in HubSpot and verify that there are no typos or propagation delays.

Error: Flipping domains before SSL is live
If SSL isn’t active on the new domain, visitors will see “insecure site” warnings.
Fix: Hold off on going live until the SSL status shows “Active”—HubSpot handles certificates but needs time to issue them.

Error: Leaving old URLs in active assets
Forms, emails, popups, and CTAs may still link to your previous domain.
Fix: Use HubSpot’s built-in link management to update CTAs, or manually update each workflow, form, and template URL.

Error: Assuming analytics carry over without checking
Changing the domain won’t break your tracking code—but only if it’s still installed consistently.
Fix: Verify your HubSpot tracking code is the same across all pages, and immediately recheck Traffic Analytics for any abnormalities after switching.

 

Step-by-Step Setup or Use Guide

Have full admin access in both HubSpot and your domain registrar before making changes. Double-check that backups or version histories exist in case you need to undo anything.

  • Open HubSpot settings.
    Navigate to Settings > Website > Domains & URLs.
  • Connect your new domain.
    Click “Connect a domain,” and select the type of content (e.g., Website or Blog).
  • Enter your new domain name.
    Example: www.newbrand.com. HubSpot provides DNS records tied to this domain.
  • Update your DNS settings.
    Log in to your registrar account and paste the CNAME and TXT records exactly as HubSpot provides.
  • Wait for verification.
    Once HubSpot shows the domain as “Connected,” you’re clear to move forward.
  • SSL should activate automatically.
    HubSpot handles SSL certificates, but propagation time may vary.
  • Assign the domain as your primary.
    In Domains & URLs, choose “Actions > Make primary” next to your new domain.
  • Test everything live.
    Check page load status, run redirect tests, and preview mobile responsiveness. Confirm HTTPS versions display properly.

If you’re operating regional subdomains or multiple teams, finalize cookie notices, adjust subfolder routing, and verify analytics tags after the change.

 

Measuring results in HubSpot

Once your domain is live, the real test is in your data. Don’t assume your metrics stay intact—confirm it.

Here’s what to monitor:

  • Traffic Analytics: Look under “Sources” to ensure referral data continues to track. Sudden drops in direct or organic traffic may signal broken links or redirect issues.
  • Page Performance: Compare performance for high-traffic pages before and after the domain switch.
  • Behavioral Events: View page-level metrics to confirm that views on the new domain are being captured.
  • Dashboards and Reports: Create or refine widgets to segment by the new domain. Include bounce rate, conversions, and user paths.
  • GSC Integration: Reconnect your domain in Google Search Console. This keeps indexing consistent and lets you catch crawl errors early.

Checklist:

  • Submit all relevant new URLs for indexing
  • Test every active form and track submission events
  • Monitor redirected URLs for 200-status
  • Validate your main tracking code matches your HubSpot account ID

These steps protect your lead gen and SEO efforts from being disrupted and give your team confidence in the updated data flow.

 

Short Example That Ties It Together

Let’s say you’re the HubSpot admin at a mid-sized B2B firm undergoing a rebrand. Your company moves from www.oldcompany.com to www.newcompany.com.

You use Settings > Website > Domains & URLs to add the new domain, update DNS in Namecheap using HubSpot’s CNAME and TXT records, and verify ownership. Once the domain connects, SSL is automatically enabled.

You set www.newcompany.com as the new primary for your website, map redirects, and publish updated pages. Form submissions continue without interruption, and Traffic Analytics confirms consistent engagement levels.

By taking time to follow each step, your team preserves SEO rankings and avoids traffic loss, all without needing a full-scale relaunch.

 

How INSIDEA Helps

Domain transitions in HubSpot impact more than appearance—they carry real risk to performance, tracking, and uptime.

INSIDEA gives you the confidence to move domains without unintended fallout. Our HubSpot-certified experts guide you through DNS validation, redirect strategy, and accurate analytics configuration, keeping your campaigns steady and your team focused.

Whether you’re onboarding for the first time, managing a multi-domain portal, or just not sure what broke where—INSIDEA helps build and maintain the kind of clean, scalable setup your growth deserves.

Here’s how we support you:

  • HubSpot onboarding: Get your portal and workflows right from the start
  • HubSpot management: Maintain healthy data, smooth automations, and readable dashboards
  • Automation support: Build reliable, real-world workflows around your sales and marketing processes
  • CRM and reporting alignment: Keep every team on the same page with accurate insights
  • Hosting and domain oversight: Connect, verify, and protect your domains—without losing SEO equity
  • Portal audits and cleanups: Fix misaligned paths, broken redirects, and outdated structures

Ready to move forward? Visit INSIDEA to get started with a HubSpot specialist or check out INSIDEA’s HubSpot consulting services.

Jigar Thakker is a HubSpot Certified Expert and CBO at INSIDEA. With over 7 years of expertise in digital marketing and automation, Jigar specializes in optimizing RevOps strategies, helping businesses unlock their full potential. A HubSpot Community Champion, he is proficient in all HubSpot solutions, including Sales, Marketing, Service, CMS, and Operations Hubs. Jigar is dedicated to transforming your RevOps into a revenue-generating powerhouse, leveraging HubSpot’s unique capabilities to boost sales and marketing conversions.

The Award-Winning Team Is Ready.

Are You?

“At INSIDEA, it’s all about putting people first. Our top priority? You. Whether you’re part of our incredible team, a valued customer, or a trusted partner, your satisfaction always comes before anything else. We’re not just focused on meeting expectations; we’re here to exceed them and that’s what we take pride in!”

Pratik Thakker

Founder & CEO

Company-of-the-year

Featured In

Ready to take your marketing to the next level?

Book a demo and discovery call to get a look at:


By clicking next, you agree to receive communications from INSIDEA in accordance with our Privacy Policy.