An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
Yes. Multiple listeners can share the same frontend port (443) on an Application Gateway, as long as they differ by listener type/host name.
To host multiple sites on port 443:
- Keep the existing basic listener on port 443 (or change it if needed).
- Create three new multi-site HTTPS listeners, all using:
- The same frontend IP
- The same frontend port: 443
- Listener type: Multi-site
- A unique host name (for example,
site1.contoso.com,site2.contoso.com,site3.contoso.com).
- For each multi-site listener, create a request routing rule that points to the appropriate backend pool.
- Ensure DNS for each hostname points to the Application Gateway frontend IP.
Listener processing order/priority is important:
- For v1 SKU: multi-site listeners must be listed before the basic listener; otherwise, the basic listener will catch all traffic on 443.
- For v2 SKU: assign higher priority (lower numeric value) to the multi-site listeners than to the basic listener so that host-based rules are evaluated first.
This way, all four listeners can coexist on port 443, and traffic is routed by host header to the correct backend.
References:
- Application Gateway listener configuration
- Application Gateway multi-site hosting
- Application gateway components
- Azure Application Gateway features
- Tutorial: Create and configure an application gateway to host multiple web sites using the Azure portal
- Integrate an ILB App Service Environment with Azure Application Gateway