I have a domain example.com that is a Wordpress website and is hosted in Bluehost. Parallel to that, I have an app that I've hosted on aws ec2. I want the subdomain app.example.com to point to the aws ec2 isntance. How is that possible?
I've tried via aws route 52, in the hosted zone I've created A,NS,SOA,CNAME type records for the root which I pointed to Bluehost IPv4 and also for the subdomain I've created a CNAME record that points to aws Public DNS (IPv4). In the Bluehost, I've edited the subdomain A records on which I set the IPv4 of aws ec2.