Godaddy 转发到 Heroku 会出现 SSL 问题

Godaddy Forwarding to Heroku gives SSL issue

我在 GoDaddy 上有一个域,在 Heroku 上有一个 Node JS 应用程序。我遵循了如何将域转发到 heroku 的说明,使用 heroku DNS 目标作为 www 的 Cname 记录:Godaddy records. My domain is zelakir.com. Whenever someone's typing https://www.zelakir.com everything works fine. But if you write https://zelakir.com it gives a privacy error saying the web is insecure, and if you check what is the ssl certificate, it says its issued for shortner.secureserver.net.Certification Issue Screenshot Godaddy records heroku settings

您有@的A记录。 @ 代表您的基本域,在本例中为 zelakir.com.

这是自定义顶级域的一些 heroku 参考,我认为您可能需要使用不同的 DNS 提供商而不是 GoDaddy:

https://devcenter.heroku.com/articles/apex-domains

https://devcenter.heroku.com/articles/custom-domains#add-a-custom-root-domain