I’ve created a new repo with the goal of hosting it via GitHub pages. I realized I had an old domain in my User Settings that I no longer own, so I changed it and verified a new domain name that I own.
When I go to the Pages section on the repo settings and select the branch and root directory to serve from (aka. enabling Pages on my repo), it says at the top, “Your site is published at http://old-domain.com/repo-name/”… doesn’t make any sense… it is somehow remembering this old domain name that is no longer associated with my account.
I have waited several days to see if it was a cache, but the issue remains. I’ve also tried to delete the repo and create a new one - no difference. There is an option to use a “Custom domain” directly in the repo’s Pages settings, but I do not want the repo to be served at the root of the domain (ie. “new-domain .com/”), I want it to be hosted at “new-domain.com/repo-name/” instead. When I try the custom domain, that is what happens.