Hacker News new | ask | show | jobs
by wodenokoto 2228 days ago
That’s a great question!

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 :)

1 comments

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.