Add SSL to Heroku and godaddy - Rails

I am trying to configure SSL certificates using heroku and godaddy. I successfully created a certificate with LetsEncrypt and received this message

Your certificate has been added successfully.  Update your application DNS settings as follows
Domain                   Record Type  DNS Target
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€  โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€  โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
secure.lockdownjobs.com  CNAME        secure.lockdownjobs.com.herokudns.com
www.lockdownjobs.com     CNAME        www.lockdownjobs.com.herokudns.com

The part I'm struggling with is DNS Targethow do I specify the domain in the target DNS in godaddy?

+4
source share
1 answer

Just add CNAME to Godaddy. Go to your domain, click "DNS File Settings" and add a new CNAME:

CNAME
www
Target
secure.lockdownjobs.com.herokudns.com

I recommend that you read about how to add an SSL certificate to Heroku: https://devcenter.heroku.com/articles/ssl-endpoint#setting-up-ssl-on-heroku

( Heroku): https://devcenter.heroku.com/articles/automated-certificate-management

+4

Source: https://habr.com/ru/post/1674391/


All Articles