Heroku自定义域名已损坏
我有一个来自namescape的自定义域,我正试图将其指向Heroku应用程序 我的Heroku应用程序名为Heroku自定义域名已损坏,heroku,elixir,phoenix-framework,namecheap,Heroku,Elixir,Phoenix Framework,Namecheap,我有一个来自namescape的自定义域,我正试图将其指向Heroku应用程序 我的Heroku应用程序名为https://desolate-earth-75130.herokuapp.com/ 自定义域:www.harmoneytree.com 我已经尽我所能,包括youtube视频,但是当我导航到www.harmoneytree.com时,它抛出这个网站无法访问 因为它会转到https://desolate-earth-75130没有.herokuapp.com 无论如何我都不想要,我想要在
https://desolate-earth-75130.herokuapp.com/
自定义域:www.harmoneytree.com
我已经尽我所能,包括youtube视频,但是当我导航到www.harmoneytree.com时,它抛出这个网站无法访问
因为它会转到https://desolate-earth-75130
没有.herokuapp.com
无论如何我都不想要,我想要在浏览器中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中的:url
字段。Endpoint
填充不正确
将该字段更新为新的自定义域名修复了该问题
谢谢你的评论 也显示“这里什么都没有”。你确定这就是你的Heroku应用程序吗?你的
配置下的:url
条目:你的应用程序,你的appweb.Endpoint
在你的应用程序的配置.exs
或prod.exs
文件中是什么样子的?你的路径是对的,我的AppNameWeb.Endpoint
包含了不正确的:url
,将其更改为自定义域修复了该问题。