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

How to configure GoDaddy domain to point to a specific github pages repository?

· 52CE 我爱测

We have a github repository which is configured to point to nordible.com : Hitting nordible.github.io successfully lands to nordible.com . So, we've successfully connected a github website to a custom domain! The domain nordible.…

问题原文

原帖链接 · Zameer Ansari · CC BY-SA 3.0

We have a github repository which is configured to point to nordible.com:

Hitting nordible.github.io successfully lands to nordible.com.

So, we've successfully connected a github website to a custom domain!

The domain nordible.com is with GoDaddy.

Now, what steps shall we take at GoDaddy side to make nordible.com show the pages from nordible.github.io?

We noticed that, there are ways to redirect a domain to a specific Github page. However, we need a direct non-redirecting way of doing this?

已采纳解答

原帖链接 · Stephen Ostermiller · CC BY-SA 3.0

It looks like you want the canonical site to have no www. Github publishes step by step instructions for that case. If you do want the www, those instructions are here.

It basically boils down to pointing the domain name to github's IP address. You can set up an A record with 192.30.252.153 or 192.30.252.154.

Instructions for adding an A record to GoDaddy's DNS can be found here: https://www.godaddy.com/help/add-an-a-record-19238

You can't use a CNAME without the www because it will break email for the domain. MX records get ignored if there is a CNAME record at the apex.

I don't think that GoDaddy supports ALIAS records. Those are basically proxy records where you put in domain name to treat like a CNAME, but the DNS provider looks up the IP address, caches it for a few minutes, and serves it as an A record. If you want to use an ALIAS record, you would have to switch to a DNS host that supports them such as Amazon Route 53.

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

资料来源与适用范围

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

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

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