英文:
Error during DNS configuration Google AppEngine / OVH
问题
我在OVH购买了一个域名,并尝试将其与我的Flask应用程序设置在托管在GCP AppEngine上。
我已经注册了DNS,但我收到了以下错误消息:
证书ID未由Google生成,尽管我在OVH配置中添加了每个类型的A和AAAA记录。
我在CNAME方面收到了以下错误消息:“子域名已经使用DNS记录。由于不兼容性,您无法注册CNAME字段。请删除此子域名的现有记录,以便添加类似CNAME的记录”。
英文:
I bought a domain name on OVH and I am trying to set it with my flask application hosted on an GCP AppEngine.
I registered the DNS but I have this error message :
The certificat ID is not generated by Google whereas I added each type A and AAAA on my OVH configuration.
I had this error message for the CNAME : "the subdomain already uses a DNS record. You cannot register a CNAME field due to an incompatibility. Delete existing records for this subdomain, so you can add a CNAME-like one"
答案1
得分: 1
正如之前在评论中提到的,我建议查看自定义域映射的文档。
- 首先检查您的帐户是否具有App Engine 管理员角色 (
roles/appengine.appAdmin
) 或包含appengine.applications.get
权限的自定义角色。 - 如果您使用云负载均衡和无服务器 NEGS 来将流量路由到您的 App Engine 应用程序,请建议将您的自定义域映射到负载均衡器,而不是直接映射到您的应用程序,并使用为负载均衡器创建的 SSL 证书。查看下面的链接以获取更多信息:
- 转到自定义域页面,然后添加自定义域。
- 确保使用裸域,例如
example.com
,然后如果尚未验证,请单击 验证。
如果上述步骤没有帮助,您可以查看 @KranthiveerDontineni 的评论,了解有关 Google 域的解决冲突记录错误 的信息。
希望这对您有所帮助。
英文:
As previously posted in the comments, I would suggest to check the documentation on mapping custom domains.
- Check first if your account has the App Engine Admin role(
roles/appengine.appAdmin
) or a custom role that contains theappengine.applications.get
permission. - If you use Cloud Load Balancing and serverless NEGS to route traffic to your App Engine app, we recommend that you map your custom domain to the load balancer instead of directly to your app, and use SSL certificates that are created for the load balancer. Check the links below for more information:
- Go to Custom Domains page then add the custom domain.
- Make sure to use the naked domain such as
example.com
then click on Verify if it hasn't been verified yet.
If the aforementioned steps didn't you may check @KranthiveerDontineni's comments on fixing conflicting records errors for Google Domains.
Hope this helps.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论