Cross Domain redirection

Discussion in 'Windows / IIS' started by Ankur, Jan 5, 2011.

  1. Can I do the following:

    When a user goes to http://www.domain1.com/testserver/, I want to have the contents of http://x.x.x.x or http://www.domain2.com to appear without changing the URL (http://www.domain1.com/testserver/).

    I have done the following steps using url rewrite module of IIS 7 manager:

    * In IIS 7 Manager, navigate to the URL Rewrite section
    * Click Add Rule on the right hand side
    * Click the canonical domain name template
    * Enter your domain name, including the www

    When I use http://www.domain1.com/testserver/, it redirects to http://x.x.x.x/ and also changes the url, but I want to redirect without url change.

    Please help me regarding this.

    Thanks,
    Ankur
     
  2. How about performing a Server.Transfer server side redirect?
     

Share This Page