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

GoDaddy forwarding for bare domain to www is not working for a .dev domain hosted by Blogger

· 52CE 我爱测

I have a website ( example.dev ) registered with GoDaddy that only works when www. is prefixed to the URL. It is hosted at ghs.google.com , using Google's Blogger platform. In the Blogger settings I have activated a setting calle…

问题原文

原帖链接 · theLoneCoder · CC BY-SA 4.0

I have a website (example.dev) registered with GoDaddy that only works when www. is prefixed to the URL. It is hosted at ghs.google.com, using Google's Blogger platform. In the Blogger settings I have activated a setting called "Redirect Domain" that redirects example.dev to www.example.dev. But whether that setting is on or not, my domain won't work without www.

In the GoDaddy DNS manager, I added forwarding from example.dev to https://www.example.dev, but it has been two days and nothing has changed. None of the solutions I found online have worked for me, but it seems that Blogger has some kind of quirk that causes this issue.

已采纳解答

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

GoDaddy doesn't support HTTPS for forwarding redirects. You have a .dev domain which requires HTTPS. To redirect your bare domain to www., you will need to use a different service that supports HTTPS.

Google added the entire .dev top level domain to the HSTS preload list. That means that browsers will refuse to communicate with any HTTP server for any .dev domain and will only talk to HTTPS servers.

The usual way to handle the bare domain to www. redirect is to use an A record to point the bare domain to the same web host as your www. subdomain. Then you can put rules in place on your web host to redirect the bare domain to www..

According to this article from Namecheap, Blogger's IP addresses that can be used for A records are:

  • 216.239.32.21
  • 216.239.34.21
  • 216.239.36.21
  • 216.239.38.21

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

资料来源与适用范围

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

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

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