By using AWS re:Post, you agree to the Terms of Use

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 Answer
1
Accepted Answer

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

answered a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions