github - github页面CNAME文件可以包含多个域名吗?

标签 github github-pages

github页面CNAME文件可以包含多个域名吗?

示例文件:

reggi.com
www.reggi.com
blog.reggi.com

最佳答案

不,这是不可能的。请参阅GitHub Help docs解释一下:

Ensure you only have one domain listed in your CNAME file. If you wish to have multiple domains pointing to the same Pages, you will need to set up redirects for the other domains. Most domain registrars and DNS hosts offer this service to their customers.

关于github - github页面CNAME文件可以包含多个域名吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16454088/

相关文章:

github - 在推送时自动将 Gitlab 存储库镜像到 Github

github - jhipster application-prod.yml 在 github 上存储敏感信息

javascript - Github 页面网站不反射(reflect)本地主机的行为

python - 使用Pelican时pelicanconf和publishconf有什么区别

python - python语言开发中的.c文件

node.js - 无法安装 node-sass 因此无法安装 gulp-sass

git - 使用多个带有 SSH key 的 Github 帐户

redirect - Jekyll 重定向整个目录

git - Git 如何既节省空间又快速?

http - 从 Github gh-pages 永久重定向