我正在尝试使用heroku和godaddy设置SSL证书。我已成功使用LetsEncrypt创建了证书,并收到了此消息
Your certificate has been added successfully. Update your application's 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
我挣扎的部分是DNS Target
如何在godaddy中将域名指向DNS目标?
答案 0 :(得分:2)
只需在Godaddy中添加CNAME即可。转到您的域,单击DNS文件设置并添加新的CNAME:
CNAME
www
Target
secure.lockdownjobs.com.herokudns.com
我建议您阅读有关如何向Heroku添加SSL证书的信息: https://devcenter.heroku.com/articles/ssl-endpoint#setting-up-ssl-on-heroku
还有更简单的方法(让Heroku这样做): https://devcenter.heroku.com/articles/automated-certificate-management