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개 답변
1
수락된 답변

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

Gerhard
답변함 일 년 전
  • Which is basically to add . at the end of value in CNAME record:

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

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠