I set this site up on GitHub pages and the address http://www.davepotts.software was working just fine. The other day I noticed that if you tried to load the site without the "www." you ended up at a domain parking page of my DNS provider.
The fix so that GitHub Pages would redirect for me was very simple. I was missing a couple DNS A records to resolve the plain davepotts.software address to the GitHub Pages server.