- Knowledge Base
- Content
- Domains & URLs
- Troubleshoot root domain not loading
Troubleshoot root domain not loading
Last updated: December 18, 2025
Available with any of the following subscriptions, except where noted:
A root domain may load over HTTP (e.g., http://mydomain.com) instead of HTTPS (e.g., https://mydomain.com) when an SSL certificate has not been applied. This occurs when the root domain has not been connected in HubSpot. You can connect the root domain and configure redirects so traffic loads securely.
Connect the root domain
To confirm the root domain loads securely:
- In your HubSpot account, click the settings settings icon in the top navigation bar.
- In the left sidebar menu, navigate to Content > Domains & URLs.
- Connect the root domain.
- After the domain is connected, HubSpot automatically provisions SSL. Learn more about SSL and domain security.
- Once SSL is active, you can host content on the root domain or redirect traffic to a subdomain.
Redirect the root domain to a subdomain
Redirect traffic from a root domain (e.g., https://mydomain.com) to a subdomain (https://www.mydomain.com).
- In your HubSpot account, click the settings settings icon in the top navigation bar.
- In the left sidebar menu, navigate to Content > Domains & URLs.
- Connect the root domain as a redirect domain.
Please note: redirecting the root domain to the subdomain over HTTPS isn't always necessary. If you hosted content on the secure root domain (https://mydomain.com) before migrating your website to HubSpot, your pages may still be indexed by Google on the root domain. To confirm if this is the case, you can enter site:[mydomain].com into Google to only search for pages on that domain.
Redirect a subdomain to a root domain
To redirect traffic from a subdomain (e.g., https://www.mydomain.com) to a root domain (e.g., https://hubspot.com), connect the root domain first, then the subdomain as a redirect domain.
- In your HubSpot account, click the settings settings icon in the top navigation bar.
- In the left sidebar menu, navigate to Content > Domains & URLs.
- Connect the root domain.
- Connect the subdomain as a redirect domain.
