Created
February 24, 2020 11:02
-
-
Save ivakhnov/69c0918eb38bd62602dcda1a49822785 to your computer and use it in GitHub Desktop.
[Identify WebApp behind the TrafficManager] Add this file to the site/wwwroot folder on all the distributed Azure WebApps behind a TrafficManager pointed by delivery.xxx.com. Then, target the delivery.xxx.com/dns.aspx in order to identify which of the WebApps you are targeting because of the TM. #AzureWebApp #TrafficManager #Distributed #DNS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <% @ Page Language="C#" %> | |
| <html> | |
| <head> | |
| <title>DNS test</title> | |
| </head> | |
| <body> | |
| <pre> | |
| <% | |
| Response.Write(Request.ServerVariables["HTTP_X_SITE_DEPLOYMENT_ID"]); | |
| %> | |
| </pre> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment