An administrator is configuring a single Azure Application Gateway v2 named AppGW1 to support two custom domains: `orders.contoso.com` and `inventory.contoso.com`. Traffic for `orders.contoso.com` must route to a backend pool named `OrderPool`. Traffic for `inventory.contoso.com` must route to a backend pool named `InventoryPool`. What is the minimum number of listeners and routing rules required on AppGW1?
- Two multi-site listeners and two routing rulesCevap
- BOne basic listener and two routing rules
- COne multi-site listener and one routing rule
- DTwo basic listeners and one routing rule
Cevap
Two multi-site listeners and two routing rules
To route traffic to different backend pools based on distinct host names (multi-site hosting), you must configure a separate multi-site listener for each host name. Since there are two separate domains (`orders.contoso.com` and `inventory.contoso.com`) pointing to different backend pools, two multi-site listeners are required. Each listener must be associated with a dedicated routing rule that maps the listener to its respective backend pool, requiring a total of two routing rules.
Adım Adım Çözüm
Anahtar Kavram
Azure Application Gateway listeners and routing rules configuration for hosting multiple sites.