'URl Rewrite 2 dns names different /page
I am using the URL Rewrite tool 2.0 on windows 2019. This is what I have going on. These are all just HTTP://names... I have 2 dns names alpha.uuu.com and beta.xxx.com both urls point to the same site in iis. alpha.uuu.com needs to redirect to alpha.uuu.com/app1 beta.xxx.com needs to redirect to beta.xxx.com/app2 This is a simple blazor app with 2 pages. If I try a simple regex ^alpha+([.][a-z0-9]+).com as the pattern and try to redirect to /app1 in the Action properties. it does not seem to work. yet for a test if I just use ^$ in the pattern and /app1 it works. what am I missing?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
