AWS loadbalancer does not route traffic properly

Viewed 52

I'm trying to use one loadbalancer between two different clusters, I've add two subdomains in Route 53 and I also created two different target groups which one them indicates staging environment and one of them indicates production environment, but when I enter the relevant url of each of it always shows production environment, It's because request cannot get routed. actually it does the default action which is rule number three.

Any help would be welcome! Thank you so much!

1

1 Answers

Based on the comments.

The listener rules provided in the question are correct and they should work as expected. In fact, after waiting a bit, the domain names and the ALB started to work, which suggest that maybe and DNS or browser caches needed to update before it started working.

Related