How to update DNS on godaddy to use fly.io?

Hello- brand new to fly.io & following the Use a custom domain · Fly Docs page.
If in godaddy when I tried to add a new cname such as:
type: CNAME
Name: @ (root)
value: chriscattodotcom-icy-leaf-3614.fly.dev

Also in my godaddy dns I see record A @ Parked. (not sure if I need to delete this or keep it)

then click add I get the error message “Record data is invalid”

so then I tried with IP & created 2 new dns records:
type: A
Name: @
value: 66.241.999.99 - This is the v4 ip address

type: AAAA
name: @
value: 2a09:9999:1::34:328b:0. - this is the v6 ip address which is the same I got from the command “fly certs show chriscatto.com

when I go to the domain www.chriscatto.com chrome says it cannot be reached.

Can anyone please assist me in understanding what needs to be updated in godaddy or fly.io to have my godaddy dns point to my fly.io app?

thanks in advance for any & all info.

Also what i have learned is when a user navigates to the domain with www the page does not load; for example: https://www.chriscatto.com/ However if we go directly to the domain such as https://chriscatto.com/ the page loads correctly.
I created a new dns record that is: CNAME WWW ChrisCatto.com
Anyone know what needs to be altered for the site to show when someone goes to the site with the www?

SOLUTION:
I added the following:
CNAME www. chriscattodotcom-icy-leaf-3614.fly.dev

OK I think I finally figured it out. I’ll post this for anyone in the future maybe this will assist them.

When the domain was working after adding the A name pointing to my IP and the AAAA name with the cert value and the domain will show with https://chriscatto.com with no “WWW” subdomain.

then when navigating to https://www.chriscatto.com with the www subdomain it will show correct.
When searching much of the documentation was showing add a CNAME www chriscatto.com but this didn’t work since the value needed to be my url from fly.io in this case chriscattodotcom-icy-leaf-3614.fly.dev. I finally realized this after using this command fly certs create www.chriscatto.com . I see why & how to resolve this issue now it took me quite a bit of tryal n error but just wanted to share how I resolved it for anyone in the future who had the same issue.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.