我已经设法给自己一些DNSconfiguration感到惊讶。 这是我的terminal的实际输出:
[]$ host www.sepa-converter.nl www.sepa-converter.nl is an alias for sepa-converter.herokuapp.com. sepa-converter.herokuapp.com has address 184.73.167.111 []$ host sepa-converter.herokuapp.com sepa-converter.herokuapp.com has address 184.72.248.52
结果是,如果您浏览到www.sepa-converter.nl,则无法获取sepa-converter.herokuapp.com提供的内容。
我已经使用sepa-converter.nl作为overopsepa.nl的别名。 我希望邮件能够继续显示在我的Google Apps帐户中。 出于这个原因,我保留了A和MXlogging,但只是将CNAMES更改为指向另一台服务器。
为什么这不能解决www.sepa-converter.nl正确的heroku应用程序?
更新:我明白,Heroku每次不会返回相同的IP,我明白,这不是一个问题。 问题是http请求服务的内容是来自不同的testing仪比一个别名。 如果您在www.sepa-converter.nl上查看sepa-converter.herokuapp.com,您将看到不同的index.html正在投放。
这个主机名有更多的一个IP,这不是一个问题。 每次对这个主机名进行挖掘查询,我都得到了不同的IP地址:
sgeorge-mn:~ sgeorge$ dig sepa-converter.herokuapp.com +short 50.19.86.241 sgeorge-mn:~ sgeorge$ dig sepa-converter.herokuapp.com +short 107.20.162.205 sgeorge-mn:~ sgeorge$ dig sepa-converter.herokuapp.com +short 54.243.85.64
您的DNS已正确configuration,但是您引用的networking服务器未configuration为承载域名“www.sepa-converter.nl”。
要使networking服务器主机“www.sepa-converter.nl”成为“ServerAlias”,必须在Apacheconfiguration中configuration。
在Apache文档中引用ServerAlias 。
没有什么是您的DNS设置错误。 你需要告诉Heroku你要使用的主机名 。
heroku domains:add www.sepa-converter.nl