Hosting a site on GitHub pages with custom domain and free SSL

less than 1 minute read

GitHub pages is a great place for hosting a static website. It’s easy to add a custom domain name too. Just point the domain name’s name servers to GitHub’s and add a CNAME file to the root of your site and you’re done. If you use a custom domain name though sadly you can’t have the site served over HTTPS by default.

Cloudflare is a great CDN with a free-tier which offers free SSL. You can set

1; io io io

2; io io