GOAL #1: www.web1.com/web2 needs to point to www.web2.com
GOAL #2: Users must always see www.web1.com/web2 and the paths & queries in web2
For example: www.web1.com/web2/login OR www.web1.com/web2/?query=string
www.web1.com is on IIS6 (using ISAPI Rewrite)
www.web2.com is on IIS8 (using URL Rewrite & ARR)
Can someone guide me on how I should go about this?
=======================
On web1, I used the following:
RewriteCond %{HTTP_HOST} ^www.web1.com$
RewriteRule ^/web2/?$ www.web2.com [NC,P,R=301,L]
On web2, I setup an ARR server farm and have created an inbound rule.
However, when I pull www.web1.com/web2, the URL on the browser still says www.web2.com. I've played around with using the REVERSE PROXY and the OUTBOUND. I've watched most of Scott Forsyth's videos and read his articles. I feel I'm skipping something.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…