我有一个来自Namecheap的自定义域,我试图指向Heroku应用程序。
我的 Heroku 应用程序称为https://desolate-earth-75130.herokuapp.com/
和自定义域:www.harmoneytree.com
我已经遵循了所有可能的方向,包括YouTube视频,但是当我导航到 www.harmoneytree.com 时,它会抛出This site can’t be reached
因为它在没有 .herokuapp.com 的情况下进入https://desolate-earth-75130
。
反正我不想要,我想在浏览器中www.harmoneytree.com
。
$ host www.harmoneytree.com
www.harmoneytree.com is an alias for harmoneytree.com.
harmoneytree.com is an alias for desolate-earth-75130.herokuapp.com.
desolate-earth-75130.herokuapp.com has address 100.26.7.15
desolate-earth-75130.herokuapp.com has address 52.205.16.151
desolate-earth-75130.herokuapp.com has address 3.225.95.126
desolate-earth-75130.herokuapp.com has address 52.200.110.231
desolate-earth-75130.herokuapp.com has address 34.237.174.28
desolate-earth-75130.herokuapp.com has address 52.86.20.171
desolate-earth-75130.herokuapp.com has address 34.225.219.245
desolate-earth-75130.herokuapp.com has address 34.206.39.216
Heroku 设置>域看起来像这样
harmoneytree.com animatedhornet...
www.harmoneytree.com animatedtick.....
*.harmoneytree.com arcanesquid......
名称便宜的设置看起来像这样
CNAME www desolate-earth-75130.herokuapp.com.
提前谢谢。
最终成为AppWeb.Endpoint
中:url
字段填充不正确。
将该字段更新为新的自定义域名解决了此问题。
感谢您的评论!