Re:Ask HN: Do you blog under your own domain? How?
by rgibert on Saturday May 16, 2020 @06:18PM
(#23207668)
https://help.github.com/en/github/working-with-github-pages/...
Short is create a CNAME file in your site repo with your custom DNS in it, then add a CNAME in your DNS pointing to the GitHub pages DNS.
How: github pages. How, you ask? I don’t know. I set it up once, and now when I log in to github it tells me I set it up wrong and I should set it up again correct. I don’t know what I did or how to do it correctly - but visiting my domain works, so I don’t dare to fix what isn’t really broken.
So I guess you don’t need to know what you’re doing to host a static site on your own domain :)