【问题标题】:Pointdns with heroku invalid dns point带有heroku无效dns点的Pointdns
【发布时间】:2023-04-02 06:13:01
【问题描述】:

我已经在 heroku 上部署了我的应用程序,并获得了一个带有 pointdns 的自定义域。 点 dns 似乎正确地重定向了域,但 heroku 似乎得到了无效的应用程序或空页面,上面写着“这里什么都没有。”。

my doamin dns records

heroku error

point dns records

【问题讨论】:

    标签: node.js heroku dns


    【解决方案1】:

    您不能只在 n5hl.herokuapp.com 上对域进行 CNAME。

    您需要转到应用程序的 Heroku 设置,添加自定义域,并将 DNS 指向他们为您提供的特定 CNAME 记录。 (类似于foo-bar-random-string.herokudns.com。)

    【讨论】:

    • 我知道我可以做到,但我的域名提供商不太可能不支持 CNAME dns,所以我必须使用 pointdns。
    • @N05h3ll 你这样做 in PointDNS。您刚刚在那里为 CNAME 使用了错误的值。您的域名提供商无关紧要。
    • 所以我将我在 pointdns 中的自定义域指向 Heroku 的 CNAME,对吗?
    • 我已经在 pointdns 上更新了我的 CNAME,就像这张照片 imgur.com/a/Yq46AlM 有一段时间了,但仍然没有任何反应
    【解决方案2】:

    同时添加

    <mydomain>.cf
    

     www.<mydomain>.cf
    

    到 heroku 自定义域解决了这个问题。

    【讨论】:

    • 这不应该是第一步
    猜你喜欢
    • 2019-01-05
    • 2014-02-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-10-17
    • 1970-01-01
    • 2017-12-02
    • 2010-09-24
    相关资源
    最近更新 更多