标签: github dns github-pages
我在github页面上托管了一个网站,我从托管商那里购买了一个域名。我要添加A记录和CNAME。但是该网站将“将域名托管在托管服务器上”,而不是我的github页面。 Afaik我做的一切正确,并在A记录中添加了正确的IP。
答案 0 :(得分:1)
我认为您应该尝试使用 CNAM 记录。 这就是这个文档所说的 https://docs.github.com/en/free-pro-team@latest/github/working-with-github-pages/managing-a-custom-domain-for-your-github-pages-site