Anytime I have to look up something twice in three days I figure I might need that info again. Sometimes you have multiple domains pointing to the same site one of which might be a “marketing domain”. Here’s how to redirect a domain request to a page on a different domain.
(.*)
NOTE: This means any character, any number of repetitions.
{HTTP_HOST}
for “Condtion Input”. (Curly braces are required)
(?:www.)?domain.com
where domain is the domain to redirect. (The part
(?:www.)?
makes www. optional
http://www.newdomain.com/sub/page1.aspx
Works perfectly. Thank you very much for posting!