Setting Up a Website with Cloudflare and GitHub Pages
Setting Up a Website with Cloudflare and GitHub Pages GitHub Pages is awesome. Cloudflare is even more awesome. When you combine them… you get free speed, security, and a cool factor. Prerequisites Ready? First, gather your ingredients: A GitHub account (with a repo like username.github.io) A domain name (example: yourdomain.com) – get it from the domain kings: Namecheap or Google Domains A cup of tea (because why not) A Cloudflare account (Free plan is more than enough) Step-by-Step Setup Is Your GitHub Pages Project Ready? https://github.com/username/username.github.io The homepage should be index.html. On GitHub > Settings > Pages: Source: main (or master) Custom Domain: something like www.yourdomain.com Bonus: Check the “Enforce HTTPS” box (protects you from advanced annoyances). ...