4

Trying to get

https://example.com

To not refuse the connection, to show my website, and to redirect to:

https://www.example.com

Without having to switch my DNS hosting to DNSimple or adding another service provider.

My domain was purchased on GoDaddy. DNS is on GoDaddy as well, set up as shown below.

My app is hosted on Heroku, using a Let's Encrypt certificate, that I installed following this answer.

Currently using Helmet+express-enforces-ssl to force hsts.

I have read the following info:

Heroku SSL on root domain ; Heroku SSL Endpoints ; The Limitations of DNS A-Records

The last of which states:

(...) applications requiring SSL encryption should use the ALIAS/ANAME configuration on the root domain. Subdomain redirection will cause a browser error when the root domain is requested over SSL (i.e. https://example.com).

Which seems to be my problem (?).

How do I set this up on GoDaddy?

enter image description here

Community
  • 1
  • 1
softcode
  • 4,358
  • 12
  • 41
  • 68

0 Answers0