CMS-General

Root domain not loading over HTTPS

Last updated: January 15, 2019

Applies to:

Marketing Hub  Professional, Enterprise
Legacy Marketing Hub Basic

If your website is set up using SSL (HTTPS), you may notice that the apex (root or non-www) domain does not load when you enter it (e.g. https://mydomain.com) into your browser's URL bar. This is because the root domain is not certified or connected to HubSpot; it is connected via your redirection service provider to redirect to HubSpot.

In this case, the domains are likely hosted as:

http://mydomain.com (pointing to a redirect IP) > 301 redirects to > http://www.mydomain.com (hosted on HubSpot)

If you want to have HTTPS support for your apex domain, you must set that up with a service provider that offers HTTPS redirection services.

Redirecting the secure apex domain to the subdomain hosted on HubSpot is not always necessary. The main reason you may need this is if you hosted content under the secure apex domain (https://mydomain.com) before migrating your website to HubSpot; your pages may still be indexed by Google under the secure apex domain. To confirm if this is the case, you can enter site:[mydomain].com into Google to search for only pages under that domain.

If this type of redirect is necessary, a solution must be implemented outside of HubSpot. You can consider the following options:

  • Use a third-party service, such as EasyRedir, that provides this functionality. EasyRedir also has a support team to help along the way.
  • Use a DNS provider that supports this functionality. It is recommended to contact the potential DNS provider directly prior to purchasing their services to ensure that they can provide the functionality.
  • Purchase a server, install an SSL certificate on that server, and configure that server to forward traffic from the secure apex domain.

Please note: work with your IT team, web developer, or technical resource to decide if you need to redirect the secure apex domain, and then determine which option is the best for your setup.

Mixed-content warnings