Heroku域注册配置为在雪松堆上的竹子 [英] Heroku domain registration configured to bamboo on a cedar stack

查看:143
本文介绍了Heroku域注册配置为在雪松堆上的竹子的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在雪松堆栈上运行时,我有一个DNS配置问题与Heroku。当我的自定义域具有正确的CNAME记录并正确配置为Heroku指令时,它一直认为我将Cedar堆栈路由到Bamboo。以下是发生的情况:

I have a DNS config issue with Heroku while running on the Cedar Stack. It keeps thinking I'm routing my Cedar stack to Bamboo when my custom domains have the correct pointing CNAME records and are properly configured to Heroku instruction. Here's what happened:

我最近在一周里用雪松堆栈创建了一个英雄应用程序。

I recently created a heroku app in the past week with a cedar stack.

Region: United States
Stack: Cedar
Framework: Ruby/Rails

我使用NameCheap注册我的域名并将其指向CNAME记录。

And I used NameCheap to register my domain and pointed it to the CNAME record.

Host Name | IP Address/URL    | Record Type
@           foo.herokuapp.com   CNAME (Alias)
www         foo.herokuapp.com   CNAME (Alias)

我遵循自定义域名Heroku指南,并添加域名到我的英雄应用程序

I followed the Custom Domains Heroku Guide and added the domains to my heroku app

$ heroku domains:add example.com
$ heroku domains:add www.example.com

所有支票都通过,但是当我检查主机时,它指向已弃用的Bamboo堆栈方式指向域:

All checks pass, but when I check on the host, it points to the deprecated Bamboo stack way of pointing to domains:

$ host www.mysite.com
www.mysite.com is an alias for proxy.heroku.com.
proxy.heroku.com has address 50.16.215.104
proxy.heroku.com has address 50.16.233.102
proxy.heroku.com has address 174.129.23.129
proxy.heroku.com has address 184.73.171.204

当我在自定义域上访问我的网站时,我收到此错误在我的日志中

and when I visit my site on the custom domain, I receive this error in my logs

at=error code=H70 desc="Access to bamboo HTTP endpoint denied" method=GET path=/favicon.ico host=mysite.com fwd="198.244.101.217" dyno= connect= service= status=503 bytes=

... Heroku错误代码然后告诉我,根据 Heroku自定义域名指南,我已经做了。

...Heroku Error Codes then tells me to properly configure my custom domains according to the Heroku Custom Domain Guide, which I already did.

我已经进行了DNS查找,以检查我的DNS记录是否指向正确CNAME甚至刷新我的DNS缓存,但唉,没有用。任何指导?

I've done a DNS lookup to check that my DNS records are pointing to the right CNAME and even flushed my DNS cache, but alas to no avail. Any guidance?

非常感谢。

推荐答案

同样的问题。你需要去配置页面的zerigo和clic在配置旁边你有麻烦的域名。在Zerigo的网站上,编辑CNAME记录,并将proxy.heroku.com更改为yourapp.herokuapp.com。要花费一些时间来传播。

I just had the same issue. You need to go to the configuration page of zerigo and clic on configure next to the domain you have trouble. On Zerigo's site edit the CNAME record and change "proxy.heroku.com" to "yourapp.herokuapp.com". It should take a while to propagate.

你会看到这样的东西:

$ host www.myapp.com
www.myapp.com is an alias for myapp.herokuapp.com.
myapp.herokuapp.com is an alias for us-east-1-a.route.herokuapp.com.
us-east-1-a.route.herokuapp.com is an alias for argon-stack-1879049447.us-east-1.elb.amazonaws.com.
argon-stack-1879049447.us-east-1.elb.amazonaws.com has address 50.19.83.99
argon-stack-1879049447.us-east-1.elb.amazonaws.com has address 54.225.177.29
argon-stack-1879049447.us-east-1.elb.amazonaws.com has address 23.23.214.121
argon-stack-1879049447.us-east-1.elb.amazonaws.com has address 54.225.170.60
argon-stack-1879049447.us-east-1.elb.amazonaws.com has address 184.73.160.229
argon-stack-1879049447.us-east-1.elb.amazonaws.com has address 23.23.245.47
argon-stack-1879049447.us-east-1.elb.amazonaws.com has address 23.21.166.91
argon-stack-1879049447.us-east-1.elb.amazonaws.com has address 184.73.213.30

这对我来说很有用。

这篇关于Heroku域注册配置为在雪松堆上的竹子的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆