I am struggling to get the load balancer to work with more than one application. My setup:
Applications: Web1 (Port 10000), Web2 (Port 11000), Web3 (Port 12000)
Servers: Serv1, Serv2, Serv3.
All servers are identical and have Web1, Web2 and Web3 listening on port: 10000, 11000, 12000 respectively.
How can I instruct the load balancer to do the following:
web1.domain.com -----> use Serv1,Serv2,Serv3 port 10000.
web2.domain.com -----> use Serv1,Serv2,Serv3 port 11000.
web3.domain.com -----> use Serv1,Serv2,Serv3 port 12000.
I managed to get it working with 1 application but I can't create 3 load balancers as the servers already belongs to a different instance group.
I have read about the port name mapping, but the load balancer keeps ignoring those and uses its own generated one called 'http'.
Has anyone faced any similar issues?