Good Afternoon,
I'm new to IIS and web.config and feel like a complete newbie. I'm attempting to create a 301 redirect but can't seem to figure out what the appropriate rewrite code should be. Would love some help if anyone has an answer!
(I substituted 'mydomain' just because I'd prefer not to have this in search results)
Old URL: https://www.portal.myolddomain.com/customerquote.aspx
New URL: https://www.mynewdomain.com/quote
As you can see, I'm not just redirecting a subdomain to the parent, but a subdomain of an older domain to a new parent. That's what I've been having issues with.