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, so the domains are likely hosted as such:
http://mydomain.com (pointing to a redirect IP) > 301 redirects to > http://www.mydomain.com (hosted on HubSpot)
If you wish to have HTTPS support for your apex domain, you will need to 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 would want 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, then a solution would need to implemented outside of HubSpot. Below are some options to consider:
Please note: you will want to work with your IT team, web developer, or technical resource to decide if you even need to redirect the secure apex domain, and then determine which option is the best for your setup.
- Use a third-party service, such as EasyRedir, that provides this functionality. EasyRedir also has a support team to help along the way.
- Find a DNS provider that supports this functionality.
- Purchase a server, install an SSL certificate on that server, and configure that server to forward traffic from the secure apex domain.