需要Cognito自己的域名A记录 [英] Cognito own domain name required A Record
问题描述
我正在尝试为Cognito的用户池分配一个自己的域名,并面临一个似乎需要A记录的问题。
I am trying to assign an own domain name to a user pool for Cognito and facing an issue that it seems that an A Record is required.
在我的情况下,我已经在我的互联网域上注册了通配符,并试图按照 https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user -pools-add-custom-domain.html
In my case i have registered wildcard on my internet domain and am trying to follow the steps as mentioned in https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-add-custom-domain.html
现在我可以创建一个A记录,但不知道该A记录应指向何处。欢迎任何提示或技巧:)如果可以在不使用CloudFront的情况下完成此操作,那就太好了。
Now i can create an A Record but have no clue where this A Record should point to. Any hints or tips are welcome :) It would be nice if this can be done without using CloudFront.
我尝试了CNAME的操作,但如上所述,需要A记录。
I tried CNAME's etc but as stated an A Record is required.
推荐答案
此处与域 root 无关。该子域位于您输入的域以下的级别。
It isn't the domain root that is relevant here. It's the subdomain that sits at the level below the one you enter.
- 如果输入
auth.example.com
,则需要
example.com
- 如果输入
auth.qa.example.com
,则需要$qa.example.com $的A记录
c $ c> - 如果输入
foo.bar.qa.example.com
,则需要
的A记录bar.qa.example.com
- If you enter
auth.example.com
, you need an A record forexample.com
- If you enter
auth.qa.example.com
, you need an A record forqa.example.com
- If you enter
foo.bar.qa.example.com
you need an A record forbar.qa.example.com
这篇关于需要Cognito自己的域名A记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!