I set up a personal github probject page with gh-pages. I followed instructions from here to set up my DNS information with namecheap
Custom domain for GitHub project pages
This is what my DNS settings look like
https://i.stack.imgur.com/bX1bw.png
With one addition: under the 'www' subdomain, I have a URL redirect to mydomain.com (before I did this, typing 'www.mydomain.com' in the browser would not redirect to mydomain.com)
In the gh-pages branch of my github project, the CNAME file has one line: mydomain.com
It's been 48 hours or so, and sometimes I can connect fine to mydomain.com, while at other times I get an http 400 bad request. The DNS changes should have propagated by now. Any help would be much appreciated.