问题原文
原帖链接 · keithgardner · CC BY-SA 3.0
I have set up my first small static webpage using Namecheap and Github for hosting: http://www.keithgardner.me
The webpage has typically loaded fine on Mac computers and iOS devices. I noticed tonight on my Mac running 10.10.3 (the newest Yosemite as of April 15, 2015), the webpage would not load using Safari. It gave me the error "Too many redirects trying to load the page ..."
I did notice on chrome browser on a windows computer the same error occurred. The whole structure of my webpage is open source on github here https://github.com/keithgardner2/keithgardner2.github.io
I would love if someone could give me insight as to what is happening here. All I am using is html and CSS for the styling.
Thanks in advance!
已采纳解答
原帖链接 · closetnoc · CC BY-SA 3.0
The link you provided (github.com/keithgardner2/keithgardner2.github.io) works fine. However, the domain name keithgardner.me has 3 A records - 2 are github.com and 1 is NameCheap. There has to be something that NameCheap is doing incorrectly. In fact, this is likely far too complicated a set-up for what you are trying to do.
I suggest logging onto your registrar's control panel and deleting your 3 A records. You do not need NameCheap. But take notes anyway just in case you need to drop back!
You can replace your A records with 2 CNAME records.
One would point your domain name keithgardner.me to github.com/keithgardner2/keithgardner2.github.io and the other would point www.keithgardner.me to github.com/keithgardner2/keithgardner2.github.io.
That should be all you need to make this work properly.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
