I have a Github project, github.com/jeti/matrix
, and I set up a "Github pages" site for the project so that it is accessible here jeti.github.io/matrix/
.
That is all configurable through Github.
Now, I would like to add a subdomain of my personal website so that the website is accessible via the subdomain matrix.jeti.io
of my website jeti.io
.
I am just really confused how to do that because the documentation don't seem to show how to redirect a project page to a subdomain. I have tried a few permutations of what I think should be the correct inputs, but because these DNS changes take so long to propagate, it is really hard to test.
Specifically, I would like to know what value to enter into Github as the Custom domain (it seems to me that this should simply be the subdomain matrix.jeti.io
, but I am not sure, so I have left this blank):
Then I also need to create the subdomain. I bought the domain through OVH, and they provide a few options for adding a DNS entry:
My understanding is that I need to add 2 apex records. I did that already:
What is unclear to me is whether I also need to add a CNAME entry. This is what the form looks like when I try to add a CNAME entry:
So in recap:
- I did not specify the
Custom Domain
on the Github site. - I created the 2 apex records shown above.
- I did not create a CNAME entry.
Please tell me which of these steps needs to be changed and how to modify it.
example.com
I should add a CNAME tousername.github.com
and on github set the custom domain toexample.com
. Right? I didn't used /docs, but gh-pages branch – Feltner