首页 文章

在Cloudflare中添加指向Heroku托管应用程序的CNAME记录

提问于
浏览
-1

我有一个在Heroku上托管的NodeJS应用程序,我正在使用Cloudflare来处理我的DNS设置 .

不幸的是,我的应用程序的根域将无法解析,因为我没有指向它的CNAME记录,相应地,我在Cloudflare仪表板上也收到以下错误:

"An A, AAAA or CNAME record was not found pointing to the root domain. The XXXX.com domain will not resolve".

我找到了Heroku托管应用程序的相关documentation(如下所示),它解释了我需要做的就是为我的root添加CNAME记录并将其指向服务器名称 . (它还说明了我无法将其指向静态IP地址的原因)

enter image description here

My problem is - how do I add a CNAME record pointing to the server name when the field I'm supposed to add the server name to only accepts an IP address?

见下面的截图 .

enter image description here

enter image description here

另外,我对下面的documentation进一步感到困惑:

enter image description here

1 回答

  • 0

    事实证明这是Cloudflare的浏览器问题 .

    Firefox 上,这是CNAME输入字段的样子 .

    enter image description here

    Chrome 上,这是CNAME输入字段的样子 .

    enter image description here

相关问题