« Previous Next »

Answered Thread: Change domain URL

Last post 11-09-2009 3:04 PM by anilr. 4 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (5 items)

Sort Posts:

  • 11-05-2009, 5:36 AM

    • MartinU
    • Not Ranked
    • Joined on 09-22-2009, 1:21 PM
    • Posts 9

    Change domain URL

    I want replace domain URL.
    I have domain url http://test..com and in the aplication is link on another site http://test2.com

    How I do rewrite it to http://test.com
    I need always in  the browser URL adress http://test.com

     

    Thx

  • 11-05-2009, 9:35 AM In reply to

    Re: Change domain URL

    If I understand what you're asking for, you can't.  The only way to do this, mask the true URL, is by using frames.

    Jeff

    Look for Wrox's new book Professional IIS 7 in your local bookstore, or order now at Amazon.com
  • 11-05-2009, 11:30 AM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 10:13 PM
    • Redmond, WA
    • Posts 2,343

    Re: Change domain URL

    You can do this using ARR - you can have all the links in the application still be to test.com and use ARR to selectively forward some of those requests to test2.com

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 11-09-2009, 2:55 PM In reply to

    Re: Change domain URL

    so this touches on something I was going to ask.  from the above posts it sounds like you cannot use URL rewrite to the the following:

    take iis7.com/apps   and rewrite the url to be iis6.com/apps so that only iis6 apps would be sent to an older server and iis7.com/newerapps would still be running on iis7.com

    it is rather advised to us ARR to do something like that?

     

    -arthur

     

  • 11-09-2009, 3:04 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 10:13 PM
    • Redmond, WA
    • Posts 2,343

    Answered Re: Change domain URL

    You would use URL rewrite + ARR for this - url rewrite provides the regex etc rewriting ability + outbound rewrite ability in case some of the links in your response are pointing to the internal url and ARR provides the actual proxying capability.

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
Page 1 of 1 (5 items)
Microsoft Communities