I put a load balancer in front of example.com
and I believe all traffic for *.example.com
goes to the load balancer
My database is named db.example.com
and listening at 5432
Application Load balancer has port setting for 80 and 443 only..
How do I direct db.example.com
traffic to the ec2 instance which listens to 5432?
- EDIT
I have single DB, I don't need load-balance db, just need to reach it.