Firebase 托管只有一个 A 记录 [英] Firebase hosting with only ONE A record

查看:21
本文介绍了Firebase 托管只有一个 A 记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通过 1and1.com 注册了我客户的域

I have my client's domain registered via 1and1.com

要将域连接到 Firebase 托管,Firebase 要求我添加两条具有 2 个 IP 的 A 记录.在1and1中我们只能添加ONE一条记录.昨天 Firebase 通过邮件向我发送了这条消息

To connect the domain to the Firebase hosting, Firebase asks me to add TWO A records with 2 IPs. In 1and1 we can only add ONE A record. Yesterday Firebase sent me this message by mail

请重新验证 www.*******.com 的所有权*******-网站.此域的先前验证具有已作废.您有 1 天的时间重新验证对www.*******.com 在从 Firebase 托管中删除之前,这将阻止从域中提供所有内容.请访问 Firebase 托管面板以开始重新验证过程.

Please re-verify ownership of www.*******.com on *******-website. The previous verification for this domain has been invalidated. You have 1 day to re-verify ownership of www.*******.com before it is removed from Firebase Hosting, which will stop all content from being served from the domain. Please visit the Firebase Hosting Panel to start the re-verification process.

今天网站断开连接.

我通过 Firebase 控制面板将域重新连接到 Firebase 托管并重新启动了网站.但是 Firebase 控制面板说它仍然需要设置

I reconnected the domain to the Firebase hosting through the Firebase control panel and got the website up again. But the Firebase control panel says it still needs setup

我相信它很快就会再次断开连接.如何解决?(我已经打电话给 1and1,他们告诉我我无法再添加一条 A 记录.)

I am sure it will disconnect it again soon. How to solve that? (I already called 1and1 and they told me no way I would be able to add another A record.)

推荐答案

我以同样的方式建立了一个网站 (https://lasi17.snola.es/) 并且它似乎只适用于指向 Firebase IP 的一条 A 记录.

I set up in the same way a website (https://lasi17.snola.es/) and it seems to work with only one A record pointing out to the Firebase IP.

就我而言,我只是更改了 Hosting -> Domains -> Your custom domain (in my case lasi17.snola.es) -> 处理此域中的流量(烤肉串菜单下的编辑")中的选项).之后,域照常工作,只配置了一个 A 记录.

In my case, I just changed the option in Hosting -> Domains -> Your custom domain (in my case lasi17.snola.es) -> Process traffic in this domain ("Edit" under the kebab menu). After that, the domain works as usual with only one A record configured.

这篇关于Firebase 托管只有一个 A 记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆