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

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

Gerhard
answered a year ago
  • Which is basically to add . at the end of value in CNAME record:

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

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