如何为我的 github 页面使用自定义域

发布于 2024-12-25 03:14:39 字数 397 浏览 3 评论 0原文

我有一个 github 页面(lc87624.github.com),我想要我的域名("www.gemoji.me" 和 "blog.gemoji.me") 链接到此页面。 我尝试添加两条指向“lc87624.github.com”的 CNAME 记录,但是当我访问我的域时,它显示错误页面github 说“页面不存在!”。有人可以帮助我吗?

PS:我的github页面是一个使用名为“octopress”框架的博客,我在源分支中添加了一个CNAME文件。

I have a github page(lc87624.github.com), and I want my domains("www.gemoji.me" and "blog.gemoji.me") link to this page.
I try to add two CNAME record pointing to "lc87624.github.com", but when I visit my domains, it shows a error page of github saying "Page does not exist! ". Someone can help me?

PS: My github page is a blog using a framework named "octopress", and I have added a CNAME file to the source branch.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

空城仅有旧梦在 2025-01-01 03:14:39

我检查了您的存储库,发现您的 master 分支中没有用于显示您的网站的 CNAME 文件。也许您在将 CNAME 文件添加到后忘记生成网站。
你可以看看我的。 :)

I checked your repo and found that you haven't own a CNAME file in your master branch, which was used to show your site. Maybe you forgot to generate the site after added the CNAME file to your source.
You can have a look at MINE. :)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文