Using an IIS server with multiple sites behind an application loadbalancer

0

I am trying to put some sites on an iis server behind a loadbalancer on aws.

The loadbalancer has ssl certificate from acm.

To have the site reachable on the configured subdomain, I have to bind both the loadbalancer and the subdomain url to the site, but I have more than one site on that server, meaning...I cannot bind the loadbalancer url to more than one site at a time. Why do I have to bind the loadbalancer url to a site before it works, I used to believe binding it to the subdomain url was sufficient? If I bind only the url of the subdomain to the site, it would be unavailable...please what configuration or steps do I take in cases like this?

Olive
gefragt vor 3 Monaten87 Aufrufe
1 Antwort
0
Akzeptierte Antwort

This was resolved with host headers on alb listener rules pointing to the target group of the instance, once done, it was no longer necessary to bind a site to the alb url

Olive
beantwortet vor 3 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen