I have a domain pointing to Cloudflare’s name servers and a new website on AWS ready to replace the existing one. I have gone into Cloudflare and changed the A record to the IP address of my EC2 instance, but getting a 521 error on when I try to visit the website. Did I miss something?
Am I supposed to do anything with the name servers on Route 53? Do I create NS records in Cloudflare for the one’s provided in my Route 53 Hosted Zone? I have read a few articles and they all say to do something different in that regard.
Not sure if I’m just not waiting long enough for propagation or if I did something wrong/missed something.
Route 53 is a DNS provider not unlike Cloudflare DNS. That’s is why I asked why you are creating records in Route 53 if your authoritative DNS is configured as Cloudflare at your registrar.
I don’t know the specific answer to your EC2 question. Are you running a webserver on your EC2 instance? Does it have configuration settings available? I would start there.