If your website has SSL enabled, you may notice the root domain, also referred to as the apex or non-www domain, not loading over https (for example, https://mydomain.com). This occurs when the root domain doesn't have an SSL certificate enabled.
If you have a CMS Hub subscription, you can connect your root domain as a redirect domain in HubSpot. Once connected, HubSpot's SSL service will be applied to the domain and you can redirect traffic from the root domain to a subdomain over both http and https.
If you have a CMS Hub Enterprise subscription, you can also host content on the root domain, if you'd prefer to not redirect.
If you don't have a CMS Hub subscription, you'll need to choose one of the following options to resolve this issue:
Use a third-party service, such asEasyRedir, that provides this functionality. EasyRedir also has a support team to help along the way.
Use a DNS provider that allows you to securely redirect the root domain. 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 root domain.
Redirecting the root domain to the subdomain over https isn't always necessary. The main reason you may need this is if you hosted content under the secure root domain (https://mydomain.com) before migrating your website to HubSpot. In this case, your pages may still be indexed by Google under the secure root domain. To confirm if this is the case, you can entersite:[mydomain].cominto Google to search for only pages under that domain.