如何配置英雄应用DNS到Godaddy域? [英] How to configure heroku application DNS to Godaddy Domain?
问题描述
我已经创建了一个heroku应用程序,并希望从godaddy.com给它域。
我已经配置了所有三个主机由英雄提供,但现在我得到错误说:
Heroku |没有这样的应用程序
没有在该主机名上配置应用程序。
也许应用程序所有者已将其重命名,或者您输入的网址错误。
我想知道:有没有其他方法来配置一个heroku应用程序?
更新:新方法
请使用此链接获取新方法。接受的答案是旧的功能。
我使用这个videocast来设置我的GoDaddy域名与Heroku,它的工作完美。非常清楚和解释很好。
注意:跳过关于CNAME的部分 yourdomain.com。
(注意)和
heroku插件:添加自定义域
http://blog.heroku.com/archives/2009/10/ 7 / heroku_casts_setting_up_custom_domains /
总结视频:
1)在GoDaddy上创建一个CNAME与
别名:www
主机名:proxy。 heroku.com
2)检查您的域名是否通过键入主机www在命令行中的.yourdomain.com
3)运行英雄域:添加www.yourdomain.com
4)运行英雄网域:添加yourdomain.com
这些步骤后,它对我有用。希望它也适用于你!
更新:事情已经改变,看看这篇文章 Heroku / GoDaddy:发送裸域到www
I have created a heroku application and wants to give domain to it from godaddy.com.
I have configured all three hosts provided by heroku but now I am getting error saying:
Heroku | No such app
There is no app configured at that hostname.
Perhaps the app owner has renamed it, or you mistyped the URL.
I want to know: is there any other way to configure a heroku app?
UPDATED : New Approach Please use this link for new approach . Accepted answer is old feature.
I used this videocast to set up my GoDaddy domain with Heroku, and it worked perfectly. Very clear and well explained.
Note: Skip the part about CNAME yourdomain.com.
(note the .
) and the heroku addons:add "custom domains"
http://blog.heroku.com/archives/2009/10/7/heroku_casts_setting_up_custom_domains/
To summarize the video:
1) on GoDaddy and create a CNAME with
Alias Name: www
Host Name: proxy.heroku.com
2) check that your domain has propagated by typing host www.yourdomain.com
on the command line
3) run heroku domains:add www.yourdomain.com
4) run heroku domains:add yourdomain.com
It worked for me after these steps. Hope it works for you too!
UPDATE: things have changed, check out this post Heroku/GoDaddy: send naked domain to www
这篇关于如何配置英雄应用DNS到Godaddy域?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!