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

Gerhard
已提問 1 年前檢視次數 1195 次
1 個回答
1
已接受的答案

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

Gerhard
已回答 1 年前
  • Which is basically to add . at the end of value in CNAME record:

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

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

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

回答問題指南