'Redirect http://wildcard.dev.example.nl to https://wildcard.dev.example.nl in Application Gateway
We have an application gateway and I have al list of dns we control. The list:
- seq.dev.example.nl
- dashboard.dev.example.nl
- login.dev.example.nl
All the others where we have no control over we to redirect to the https version so -> http://test.dev.example.nl we want to redirect to https://test.dev.example.nl
When i want to try and save it I got the follow error:
Does anyone knows a work around or something?
Solution 1:[1]
Looks like you are hitting some limitations here
You can't use a wildcard or multiple host names in a redirection rule with a target listener. As a result, you cannot build an HTTP to HTTPS redirect while using wild card listeners.
Reference 1 : Considerations and limitations of using wildcard or multiple host names in a listener
Reference 2: Deploying a Wildcard Azure Application Gateway using Powershell
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | MadhurajVadde-MT |



