'www' CNAME 无法正确解析,但根 A 记录工作正常(对于 Heroku)
我在使用 WHM/Cpanel 为我的 heroku 应用程序设置 CNAME 记录时遇到问题。
我已按如下方式设置记录 - 查看图像链接。
dapcards.com 正在解析 Heroku 应用程序,没有任何问题。
但是,www.dapcards.com 失败:
> host dapcards.com
dapcards.com has address 75.101.145.87
dapcards.com has address 75.101.163.44
dapcards.com has address 174.129.212.2
dapcards.com mail is handled by 0 dapcards.com.
> host www.dapcards.com
Host www.dapcards.com not found: 3(NXDOMAIN)
Host www.dapcards.com not found: 3(NXDOMAIN)
当我使用 dnsstuff.com 工具时,它似乎可以很好地访问 proxy.heroku.com,但会产生错误:
[BOGUS ANSWER: This server is not authoritative for proxy.heroku.com.:
it refers back to the root servers]
我显然在这里遗漏了一些东西。有人有什么想法吗?非常感谢一些建议!
干杯, 抢
I'm having trouble using WHM/Cpanel to set up CNAME records for my heroku app.
I've set up the records as follows - see link to image.
dapcards.com is resolving to the heroku app with no problems.
However, www.dapcards.com fails:
> host dapcards.com
dapcards.com has address 75.101.145.87
dapcards.com has address 75.101.163.44
dapcards.com has address 174.129.212.2
dapcards.com mail is handled by 0 dapcards.com.
> host www.dapcards.com
Host www.dapcards.com not found: 3(NXDOMAIN)
Host www.dapcards.com not found: 3(NXDOMAIN)
When I use the dnsstuff.com tool, it seems to get to proxy.heroku.com fine, but produces an error:
[BOGUS ANSWER: This server is not authoritative for proxy.heroku.com.:
it refers back to the root servers]
I'm obviously missing something here. Has anyone got any ideas? Would really appreciate some advice!
Cheers,
Rob
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
也许您没有等待 DNS 传播足够长的时间?这里看起来不错:
Perhaps you didn't wait long enough for DNS to propagate? Looks fine here:
我刚刚在浏览器中访问了您的网站 www.dapcards.com 和 dapcards.com,该网站呈现良好:)
I just accessed your website unter both www.dapcards.com and dapcards.com in my browser and the site renders fine :)