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 Risposta
1
Risposta accettata

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
con risposta 2 anni fa
profile picture
ESPERTO
verificato un mese fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande