GitHub pages custom domain infinite redirect loop
Solution 1
Not sure if you have solved this yet, but I had a similar problem with redirects and 123-reg. I think what you are missing is another 'www' DNS Entry that points to the IP Address defined for DNS Entry '@'.
I wrote a quick blog post on it, with some images
Hope this helps.
Solution 2
I had a similar problem. In my case, my DNS was correct (Network Solutions), but I had left out the "www" in my CNAME file. I had "yoursite.com" instead of "www.yoursite.com". Once I added the "www", the infinite redirects were fixed.
Scotty
Updated on June 14, 2022Comments
-
Scotty almost 2 years
I'm having an absolute nightmare trying to setup a custom TLD domain with github pages. For some reason
http://www
is redirecting tohttp://
and then back tohttp://www
over and over in an infinite redirect loop.My settings with 123-reg are:
DNS ENTRY TYPE TARGET/DESTINATION @ A 204.232.175.78 www CNAME scottyv.me.
And i have a CNAME file setup correctly in my repo. Can someone please tell me what i'm doing wrong?