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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南