The steps to getting this on https://linux.plumocelot.uk as oppposed to the github page url badgergeddon.github.io:
- Set things up on Cloudflare with a CNAME reference linux.plumocelot.uk and point it to badgergeddon.github.io
- Select “DNS only” and not proxied for setting up otherwise ssl (https) will not work on github pages setup later.
- Go to your github pages repository and select settings>pages
- Enter your custom domain, e.g. mine was “linux.plumocelot.uk”
- Save and hopefully your domain will resolve.
- You should now be able to “Enforce HTTPS”
- If using a github action to build and deploy (I am using Hugo here) then you need to edit your hugo.toml file in your repo to change the base domain: eg, mine was: baseurl = “https://linux.plumocelot.uk”
- Run “Deploy Hugo site to Pages” workflow
- Enjoy your cheapskate website on your custom domain.