User Pool with own domain hosted UI is not loading

0

I added my own domain(auth.mydomain.com) to my cognito user pool with issued aws SSL certificate. In GoDaddy DNS Records I added an A record of my subdomain "auth" with EC2 instance public IPV4 adress. When I'm lunching my hosted UI (https://auth.mydomain.com/login?client_id=xxxxxxxxxxxxxxxxxxxxxxxx&response_type=code&scope=aws.cognito.signin.user.admin+email+openid+phone+profile&redirect_uri=myapp://callback/) it is not loading with error: "This site can’t be reached auth.mydomain.com took too long to respond. Try:

Checking the connection

Checking the proxy and the firewall

Running Windows Network Diagnostics

ERR_CONNECTION_TIMED_OUT"

1 回答
1
已接受的回答

Hi,

Thanks for posting on AWS re:Post! I see you are frustrated on ERR_CONNECTION_TIMED_OUT at your client side. According to the data you have provided, I believe your A record in GoDaddy was correct but you forgot to setup the Alias inside Cognito. You need to setup the alias inside AWS console if you want to use custom domain. You can reference to the document for more information.

Thank you for being an AWS customer.


https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-add-custom-domain.html

Holun_Y
已回答 2 年前
profile picture
专家
已审核 1 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则