You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/application-gateway/multiple-site-overview.md
+12-6Lines changed: 12 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,14 +4,14 @@ description: This article provides an overview of the Azure Application Gateway
4
4
services: application-gateway
5
5
author: vhorne
6
6
ms.service: application-gateway
7
-
ms.date: 1/7/2020
7
+
ms.date: 03/11/2020
8
8
ms.author: amsriva
9
9
ms.topic: conceptual
10
10
---
11
11
12
12
# Application Gateway multiple site hosting
13
13
14
-
Multiple site hosting enables you to configure more than one web application on the same port of an application gateway. This feature allows you to configure a more efficient topology for your deployments by adding up to 100 websites to one application gateway. Each website can be directed to its own backend pool. In the following example, application gateway is serving traffic for contoso.com and fabrikam.com from two back-end server pools called ContosoServerPool and FabrikamServerPool.
14
+
Multiple site hosting enables you to configure more than one web application on the same port of an application gateway. This feature allows you to configure a more efficient topology for your deployments by adding up to 100 websites to one application gateway. Each website can be directed to its own backend pool. In the following example, application gateway serves traffic for `contoso.com` and `fabrikam.com` from two back-end server pools called ContosoServerPool and FabrikamServerPool.
@@ -20,7 +20,7 @@ Multiple site hosting enables you to configure more than one web application on
20
20
21
21
Requests for `http://contoso.com` are routed to ContosoServerPool, and `http://fabrikam.com` are routed to FabrikamServerPool.
22
22
23
-
Similarly two subdomains of the same parent domain can be hosted on the same application gateway deployment. Examples of using subdomains could include`http://blog.contoso.com` and `http://app.contoso.com` hosted on a single application gateway deployment.
23
+
Similarly, you can host multiple subdomains of the same parent domain on the same application gateway deployment. For example, you can host`http://blog.contoso.com` and `http://app.contoso.com` on a single application gateway deployment.
24
24
25
25
## Host headers and Server Name Indication (SNI)
26
26
@@ -30,11 +30,17 @@ There are three common mechanisms for enabling multiple site hosting on the same
30
30
2. Use host name to host multiple web applications on the same IP address.
31
31
3. Use different ports to host multiple web applications on the same IP address.
32
32
33
-
Currently an application gateway gets a single public IP address on which it listens for traffic. Therefore supporting multiple applications, each with its own IP address, is currently not supported. Application Gateway supports hosting multiple applications each listening on different ports but this scenario would require the applications to accept traffic on non-standard ports and is often not a desired configuration. Application Gateway relies on HTTP 1.1 host headers to host more than one website on the same public IP address and port. The sites hosted on application gateway can also support SSL offload with Server Name Indication (SNI) TLS extension. This scenario means that the client browser and backend web farm must support HTTP/1.1 and TLS extension as defined in RFC 6066.
33
+
Currently Application Gateway supports a single public IP address where it listens for traffic. So multiple applications, each with its own IP address is currently not supported.
34
+
35
+
Application Gateway supports multiple applications each listening on different ports, but this scenario requires the applications to accept traffic on non-standard ports. This is often not a configuration that you want.
36
+
37
+
Application Gateway relies on HTTP 1.1 host headers to host more than one website on the same public IP address and port. The sites hosted on application gateway can also support SSL offload with Server Name Indication (SNI) TLS extension. This scenario means that the client browser and backend web farm must support HTTP/1.1 and TLS extension as defined in RFC 6066.
34
38
35
39
## Listener configuration element
36
40
37
-
Existing HTTPListener configuration element is enhanced to support host name and server name indication elements, which is used by application gateway to route traffic to appropriate backend pool. The following code example is the snippet of HttpListeners element from template file.
41
+
Existing HTTPListener configuration elements are enhanced to support host name and server name indication elements. It's used by Application Gateway to route traffic to the appropriate backend pool.
42
+
43
+
The following code example is the snippet of an HttpListeners element from a template file:
38
44
39
45
```json
40
46
"httpListeners": [
@@ -76,7 +82,7 @@ You can visit [Resource Manager template using multiple site hosting](https://gi
76
82
77
83
## Routing rule
78
84
79
-
There is no change required in the routing rule. The routing rule 'Basic' should continue to be chosen to tie the appropriate site listener to the corresponding backend address pool.
85
+
There's no change required in the routing rule. The routing rule 'Basic' should continue to be chosen to tie the appropriate site listener to the corresponding backend address pool.
0 commit comments