troubleshooting Question

Regular Expression: URL Rewrite in IIS

Avatar of MohitPandit
MohitPanditFlag for India asked on
Regular Expressions.NET Programming* iis10Microsoft IIS Web Server
3 Comments1 Solution55 ViewsLast Modified:
Hello Folks,

I would like to rewrite URL rules in IIS. Like, in business users' email, I sent a link (for dev environment), once user click on that link then, it should redirect to production site.
For e.g. (below dev link)
https://dev-website.mydomain.com/mynews/first.html
and once user will click on aforesaid link then it should redirect on below URL for all "mynews" folder/subfolder html or pages
https://prodwebsite.mydomain.com/mynews/first.html

Could you assist to write regular expression in IIS using URL Rewrite option in IIS?

Best Regards
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros