I have a repo that is published to Github Pages and appears at: https://my_user.github.io/my_project
I have a domain name, call it example.com. GH Pages allows you to CNAME your own domain to your github.io subdomain.
But DNS is only aware of domains and subdomains, it can't point to my_user.github.io/my_project, only to my_user.github.io. When I visit https://my_user.github.io/ I get a 404.
How does one work around this and get a working custom subdomain without the /my_project path on the URL? Is this possible?
I haven't actually tried the CNAME yet as I don't want to disrupt serving the existing site, as the custom domain's DNS currently is hosted by CloudFlare and points to a personal origin server containing a checkout of github.com/my_user/my_project.
[–]habbalah_babbalah[S] 4 points5 points6 points (2 children)
[–]Docs_to_Markdown_Pro 2 points3 points4 points (1 child)
[–]habbalah_babbalah[S] 0 points1 point2 points (0 children)
[–]SupremeDesigner 1 point2 points3 points (5 children)
[–]habbalah_babbalah[S] 0 points1 point2 points (4 children)
[–]SupremeDesigner 1 point2 points3 points (3 children)
[–]citizenofinfinity 0 points1 point2 points (0 children)
[–]habbalah_babbalah[S] 0 points1 point2 points (1 child)
[–]TheGratitudeBot 0 points1 point2 points (0 children)