Github's About custom domains and GitHub Pages forum reads,
After you configure a custom domain for a user or organization site, the custom domain will replace the
<user>.github.ioor<organization>.github.ioportion of the URL for any project sites owned by the account that do not have a custom domain configured. For example, if the custom domain for your user site iswww.octocat.com, and you have a project site with no custom domain configured that is published from a repository calledocto-project, the GitHub Pages site for that repository will be available atwww.octocat.com/octo-project.
This is exactly what I want. I made a home repository <user>.github.io (with a basic static html website) for my custom domain and set the custom domain xyz.com and www.xyz.com to direct to <user>.github.io as explained in Managing a custom domain for your GitHub Pages site. Here is how it looks.
I also added a file CNAME in xyz-repo with contents xyz.com. Now www.xyz.com and xyz.com both point to the html in xyz-rep, perfect.
Here is the issue though, I have another repository with Github pages that I can access by <user>.github.io/other-repo-name but not by xyz.com/other-repo-name or www.xyz.com/other-repo-name.
Any help?
