大网数据广告活动
网站运营与故障问答

"Too many redirects" from webpage made with Namecheap and github hosting

· 52CE 我爱测

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 (t…

问题原文

原帖链接 · 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.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2015-04-16)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。