Github页面上的自定义域的子域 [英] Subdomain of custom domain on Github pages

查看:76
本文介绍了Github页面上的自定义域的子域的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们被允许在Github Pages中使用我们自己的自定义域.

We are allowed to use our own custom domain with Github Pages.

例如,我有一个页面: http://example.com 指向

For example, I have my page: http://example.com which points to http://username.github.io/project

但是现在我需要在我的仓库中为另一个文件夹创建一个子域.喜欢

But now I need to create a subdomain for another folder inside my repo. like

http://zuckerberg.example.com --->指向---> http://username.github.io/project/zuckerberg

http://zuckerberg.example.com ---> which points to ---> http://username.github.io/project/zuckerberg

是否可以在github上完成?我找不到有关自定义域子域的任何文档:/

Is it possible to accomplish on github? I can't find any documentation about subdomain of custom domains :/

到目前为止,我发现了这个 https://help.github. com/articles/user-organization-and-project-pages ,但确实令人困惑

I found this so far https://help.github.com/articles/user-organization-and-project-pages but it's really confusing

推荐答案

您将无法将自定义子域指向 http://username.github.io/otherproject 其他一些文档 https://docs.github.com/en/github/working-with-github-pages/managing-a-custom-domain-for-your-github-pages-site .

You will not be able to point a custom subdomain to http://username.github.io/project/zuckerberg. You will have to point it to another project http://username.github.io/otherproject Some more documentation https://docs.github.com/en/github/working-with-github-pages/managing-a-custom-domain-for-your-github-pages-site.

这篇关于Github页面上的自定义域的子域的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆