Amplify Custom Domain Stuck in Domain activation

1

Hello,

I am trying to add a custom domain for our amplify hosted application, but getting stuck at the domain activation Cutom Domain Status

I have added the records to our 3rd party DNS provider and the SSL got verified

test    CNAME    #####.cloudfront.net

and if I go a dig on the subdomain I get

dig test.myexample.co.za

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;test.myexample.co.za	IN	A

;; ANSWER SECTION:
test.myexample.co.za. 220	IN	CNAME	#####.cloudfront.net.myexample.co.za.

So I can see the domain is in the DNS records but it seems like it appended my domain at the end, I am not sure if this is part of the verification or an error on the DNS's side, will the domain get activated if it resolves to a CNAME that looks like #####.cloudfront.net.myexample.co.za.

I have gone through the troubleshooting guide at https://docs.aws.amazon.com/amplify/latest/userguide/custom-domain-troubleshoot-guide.html but it does no mention anything about a postfix of the root domain being added to the cloudfront.net domain

I have also tried deleting the custom domain and readding it

Kind regards Gerhard

1 Resposta
1
Resposta aceita

To answer my own question, make sure to use the FQDN when adding the CNAME records.

Gerhard
respondido há um ano
  • Which is basically to add . at the end of value in CNAME record:

    test    CNAME    #####.cloudfront.net.
    

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas