根域不正常 [英] Root domain is not working properly

查看:245
本文介绍了根域不正常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的Heroku应用程序使用Heroku说明来添加自定义域,设置Zerigo DNS addon。当您打开www.spotty.rs时,它可以正常工作。



我还在Spotlight中将spotty.rs添加为Heroku面板中的域,并在Zerigo中添加了一个REDIRECT记录(重定向到www.spotty.rs)。当我在浏览器中输入spotty.rs时,它将重定向到www.spotty.rs,有时候我收到了应用程序错误。在控制台中,heroku日志命令显示H70错误,表示DNS记录设置不正确。



任何想法为什么会发生这种情况?我两天前做了这个改变。传播DNS变化还需要时间吗?!

解决方案

我有同样的问题,你需要去您应用的url zerigo设置,例如: https://zerigo-dashboard.heroku.com/ apps /% nameofyourappheroku%在DNS菜单中点击配置,点击添加片段,选择Heroku完成点击添加选择记录按钮



在CNAME编辑后,将网站的URL设置为英文,例如yourapp.herokuapp.com



这将需要几分钟时间。

I setup Zerigo DNS addon at my Heroku app using Heroku instructions for adding a custom domain. It works fine when you open www.spotty.rs.

I also added spotty.rs as a domain in Heroku panel, and added a REDIRECT record at Zerigo (redirection to www.spotty.rs). When I type spotty.rs in browser sometimes it redirects me to www.spotty.rs and sometimes I got Application error. In console, heroku log command displays H70 error which states that DNS records are not set correctly.

Any idea why is this happening? I made this changes two days ago. Is it possible that it still takes time to propagate DNS changes?!

解决方案

I had the same problem, you need to go to the url zerigo settings of your app, for example: https://zerigo-dashboard.heroku.com/apps/% nameofyourappheroku% an click "Configure" in the DNS menu click "Add snippet" and select "Heroku" to finish click the button "Add select records"

After CNAME edit and put the URL of your site on heroku, example "yourapp.herokuapp.com"

This will take a few minutes.

这篇关于根域不正常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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