我希望有一个用户页面和多个项目页面托管在GitHub Pages上,但只使用一个自定义域名(当然,每个GitHub Pages存储库都有子域名)。所以我的目标如下:
- 一个用户页面(http://florianwolters.github.com)可在http://blog.florianwolters.de,http://www.florianwolters.de和http://florianwolters.de下访问。
- 尽可能多的项目页面(例如http://florianwolters.github.com/pear)可在http://pear.florianwolters.de下访问。
有人能向我解释一下如何实现上述目标吗?我不敢相信这是不可能的,但我也不是DNS等方面的专家。
如果以上不可行:您建议的解决方法是什么?我想要在一个域名下访问所有我的GitHub页面(以及该域名的子域名)。
资源
- http://help.github.com/pages/(GitHub页面帮助中心)
- Custom domain for GitHub project pages(为GitHub项目页面自定义域名)
- https://groups.google.com/forum/?fromgroups#!topic/github/AaAuoDK44Ag(关于GitHub页面的讨论)
- https://github.com/blog/315-cname-support-for-github-pages(GitHub页面支持CNAME)
- http://code.lancepollard.com/custom-domain-github-pages(如何为GitHub页面自定义域名)