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

Google Domains won't redirect `http` to `https` when Bluehost handles the DNS and website

· 52CE 我爱测

I have a website hosted on bluehost, but using a domain from Google domains. I am trying to force it to always redirect http://example.io -> https://example.io from the google domains site. However, when I add the redirect, I get…

问题原文

原帖链接 · Patrick Collins · CC BY-SA 4.0

I have a website hosted on bluehost, but using a domain from Google domains. I am trying to force it to always redirect http://example.io -> https://example.io from the google domains site.

However, when I add the redirect, I get the following error:

This synthetic record has an error and will not function correctly:
We had a temporary issue creating your SSL certificate. We will automatically keep trying to resolve this issue.

We have it setup to redirect permanently using SSL:

We are using bluehost name servers. Are we missing something here?

已采纳解答

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

Once you use point the NS (name server) records to Bluehost, Google domains has no way of implementing the redirect. The steps for implementing the redirect are:

  1. Add a DNS entry for the host being redirected pointing to the web server that will do the redirect.
  2. Configure the web server to redirect requests for that domain to the desired location.
  3. Obtain an SSL certificate for the host name. This step may involve setting DNS records as proof of control over the host name.

When Google domains in not controlling your DNS, it can't complete steps 1 and 3. You will need to implement the redirects elsewhere.

It sounds like your website is on https://example.io. If that is the case, you will need to implement the redirect on your web server hosted at Bluehost. You can't use DNS to point HTTP to one server and HTTPS to another server.

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

资料来源与适用范围

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

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

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