Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AWS Amplify Connecting to GoDaddy - Documentation Unclear - Redirects Too Many Times

I am trying to connect my Amplify app to a GoDaddy website and the AWS instructions are not clear on how to do this.

Following these instructions I created a CNAME record to point to my Amplify app.

ocu

(Image from the documentation)

I have a "master.xxxxxxxx.amplifyapp.com" and a "feature.xxxxxxxx.amplifyapp.com", am I supposed to use one of these or just the "xxxxxxxx.amplifyamp.com"?

It seems from the docs that these records take up to 2 days to update and I do not want to waste 4 days attempting this by trial and error.

Edit

Following @Rodrigo M's answer I used the 'master.xxxxxxxx.amplifyapp.com' route for the CNAME record but when I go to the page all I see is the error:

This page isn’t working xxxxx.domain.com redirected you too many times.

And then when I look in the Network tab I see that the page did a bunch of 302 redirects where the name and the initiator were "Index.html".

Does anyone have any ideas of what is going wrong?

like image 639
av0000 Avatar asked Sep 11 '25 19:09

av0000


1 Answers

Each of the AWS Amplify domains that you reference refer to a branch of your app eg master or feature. Use the full domain name eg master.xxxxxxxx.amplifyapp.com as the target of your CNAME record for the branch you want to expose on your custom domain.

All of the standard DNS propagation warnings say allow 24 to 48 hours but in practice it's usually much much quicker so don't worry about waiting for two days too much.

I can see your DNS TTL is set for 1 hour. This value is how long the DNS system will cache your DNS records. Which means you can make a change and it would take up to an hour for those records to be updated throughout the internet. You could drop that to 5 minutes or less if you want to do trial and error testing or make quick switches to a different branch.

like image 52
Rodrigo Murillo Avatar answered Sep 14 '25 10:09

Rodrigo Murillo