This is my current DNS table
www.mydomain.com A xxx.xxx.xxx.1 *.mydomain.com A xxx.xxx.xxx.2
and inside IIS I have two sites:
- one with the bindings:
- another with the bindings:
There is a single, wildcard SSL bound to both sites.
The objective is to have a single site responding to the
www subdomain, and another site that response to all other subdomains.
How do I achieve this in EC2 with and ELB, when I can only address the LB by hostname, and therefore
Can I do this: (is it the best way?)
Have two LBs, one for
www and one for
* then map their internal
routes to different ports for the different sites, and CNAME the
* to the different LBs?