1
  1. 我在 Firebase 中创建了一个免费托管帐户并上传了一个单页网站。有用
  2. 我有一个带有 Google Domains 的自定义域。我连接了我的自定义域,并在 Google 域 DNS A 记录中添加了 Firebase 提供的两个 IP 地址。连接成功

问题: 当我访问http://moonstarinc.com时,我的网站无法正常工作

但它适用于以下任何 URL www.moonstarinc.com http://www.moonstarinc.com

我正在尝试为 admob 设置此 URL - URL:https ://moonstarinc.com/app-ads.txt

4

1 回答 1

0

你可以参考这里:

https://firebase.google.com/docs/hosting/custom-domain#domain-key

Apex domain 
Common inputs include:

@
The apex domain name (for example, example.com)
Leaving the Host field blank
Subdomain   
Common inputs include:

The full subdomain name (for example, app.example.com)
Only the subdomain portion (for example, app only, and leaving out .example.com)
Only www for the subdomain of www.example.com
于 2020-06-17T01:28:00.990 回答