Github页面上的自定义URL

时间:2015-07-25 13:05:43

标签: dns github-pages cname a-records

我在themany.github.io中有一个页面,我已按照here的说明进行自定义域名。大约16小时前我做了这些改动。现在,我知道DNS记录“可能需要长达24小时”,但根据我的经验,它永远不会。所以我想确认我已经正确设置了。

以下是我的DNS设置,我已将CNAME文件添加到我的项目中,该文件看起来像man..github.io已经重定向到1amongmany.com。

My DNS settings

我做错了吗?

1 个答案:

答案 0 :(得分:0)

您的信息中缺少某些内容:

root@ent01:/etc/bind# dig +noall +answer amongmany.github.io
amongmany.github.io.    3547    IN      CNAME   github.map.fastly.net.
github.map.fastly.net.  23      IN      A       185.31.17.133

root@ent01:/etc/bind# dig +noall +answer 1amongmany.com
1amongmany.com.         1789    IN      A       66.6.44.4

http://amongmany.github.io/Location:http://1amongmany.com/有301重定向。但是,您的www会返回404,并且似乎无法解析为上述地址:

root@ent01:/etc/bind# dig +short www.amongmany.github.io
github.map.fastly.net.
185.31.17.133

我想我仍然对你想要达到什么结果感到困惑?