问题描述
我在Godaddy上注册了一个域,现在我想创建一个指向GCP实例(静态地址)的子域。
So when did a R&D,few are saying that we need to create a zone and then points the provided Namespace address to the Godaddy ?
或
Just go to Manage DNS in Godaddy -->add -->A type (ipv4) and then points to subdomain -->with destiny IP address
哪种方法合适?有人可以帮忙吗?
解决方法
没有必要创建新区域来指向子域。 新区域就像一个新域。您可能有2种情况希望拥有一个新区域-
- 购买新域
- 使用在其他DNS提供商处购买的域的子域。
对于您而言,只需添加A Record
-
- 转到GoDaddy。
- 选择您的域。
- 添加新记录。
- 在名称(主机)中输入子域的名称。
- 选择记录类型A。
- 在“值”中添加GCP实例的IPv4地址。
- 将其他所有内容保留为默认值并保存。
它将在接下来的48小时内反映出它的变化(通常需要几分钟)