2017-08-06 74 views

回答

0

要让Github Pages在foobar.github.io您需要一个用户(或“organiaztion”)帐户github.com/foobar和存储库github.com/foobar/foobar.github.io

要让Github页面在foobar.github.io/different-repository你需要一个分支gh-pagesgithub.com/foobar/different-repository

配置example.com显示foobar.github.io您添加DNS记录A到指向Github Pages IP域和添加文件github.com/foobar/foobar.github.io/CNAME与内容“example.com”(不要忘了添加,提交和推送)。

配置differentdomain.com显示foobar.github.io/different-repository您添加DNS记录A到指向Github的页面IP域中及gh-pages分支内容“differentdomain.com”(添加,提交,推)添加文件github.com/foobar/different-repository/CNAME

相关问题