So I have two ECS Cluster in front of which I have an Application Load Balancer, I am using host-based routing to have 2 URL point to 2 different target group associated with the same load balancer.
My two domains are from GoDaddy and I want them directed to the AWS ALB DNS.
The domains have this format:
According to GoDaddy it is a DNS violation to have two CNAME record pointing to the same DNS, which brings me to my question of how do you use host-based routing if you can't have your hosts point to the same DNS.
I am sure the fact that I am not using Route53 for my domains complicates things but I am thinking there has to be a way to make it work with GoDaddy in such a way that it won't create a violation.
Any suggestions on how to help this?
You should be able to CNAME by
container1.company.com CNAME some.alb.hostname.from.amazon
container2.company.com CNAME some.alb.hostname.from.amazon
even if the ALB hostname is the same. You may want to share the exact setting you are using