I set up a new EC2 instance and then added an A name record in Cloudflare to access this server. While I can access my server using the IP, I cannot access it using the A name. Why would this be?
So just to check, you can access it when going direct to the IP, but not when you enter the domain / subdomain?
Can you post the domain in question, and also do you see an error when you try to access it?