Multiple GitHub Pages and custom domains via DNS

前端 未结 3 2022
悲&欢浪女
悲&欢浪女 2020-12-22 15:29

I want to have one user page and multiple project pages hosted by GitHub Pages but available under ONE custom domain (with subdomains for each GitHub Pages

3条回答
  •  醉梦人生
    2020-12-22 15:59

    You can only have one CNAME resource record for a page (both user pages and project pages) defined in the CNAME file in the root of a Git repository.

    You can circumvent this by creating a CNAME record for your host(pear) in your DNS settings pointing to florianwolters.github.com, and making a entry in your CNAME file in repository for pear.florianwolters.de

提交回复
热议问题