Redirecting URL Path to another host?

Posted on 2006-04-14
Last Modified: 2011-09-20 is hosted and load blanced across 3 servers. However I want to point to a different host and website all together running different applications. What I'm doing now to acheive this is have port 80 and 443 load balanced across the 3 servers and have port 444 be the other host/site/application. So when users go to they are able to access the other site.

I want to replace with a friendly url like Is this possible using IIS 5.0/6.0?

Virtual Directories dont work because of the runtime code/dll's native to site1.

Question by:stylinm3
    LVL 18

    Expert Comment

    by:Sam Panwar
    Two ways:

    1.Through ASP redirect script : Create a HTTP ASP redirect script and upload on domain
    '' as Index.asp.It will redirect your http request to domain or folder  ' 1'.

    2. Through IIS host header: The Host header of the domain will be create through IIS
    In IIS there is option of redirect domain

    Sample Script for redirect (make a index.asp file )

    <%Response.Buffer = True %>
    <%Response.Redirect ""%>

    Another Way is round robin :

    A>Enable Round robin the Advanced tab of Server Properties.
    B>) Create at least two A records that will be round robin'd for each new query for said name.
    [url][/url] A
    [url][/url] A
    [url][/url] A



    Author Comment

    Thanks for the reply.

    I can put a redirect page to send requests to another domain but I would like to keep the same domain. Redirecting to another directory will cause it to stay on the same host (ip address) unless I specify a different port.

    Host headers is a good idea, but it does not support directories. corresponds to an IP address/host. I want to correspond to another IP address/host. and are 2 completely different sites such as yahoo and google. I just want to comine them into one domain.

    Similar to a layer 3 PAT or NAT, i want to do an address translation on layer 4.. is it possible?
    LVL 18

    Expert Comment

    by:Sam Panwar

    Cn you try useing directories like full path of the domain .
    Then you have to use the script which is tell you

    <%Response.Buffer = True %>
    <%Response.Redirect ""%>

    In the script language this is possible.

    Layer 4

    NAT is possible on the Layer 3 so i think layer 4 does not support

    See the following links
    Good site

    A layer 3 device to know about all the layer 4 checksums and to change then appropriately.  It doesn't work that way.  You need to use protocols that don't have higher-layer checksuns that depend on the layer 3 header, or stop asking the router to manipulate destination addresses. No.  and The router functionality should just forward packets without
    looking at the layer 4 stuff.  
    Filtering in UDP and TCP is very simple "look N bytes into the frame, dropit if you see XYZ".  There is no layer 4 understanding at all.  (Yes, site Manager provides cool macros with layer 4
    terminology, so you can say "TCP Port" instead of "0 bits from the end of the Layer 3 header, 16 bits long", but the router code itself doesn't understand Layer 4.)
    LVL 34

    Accepted Solution

    There is no way to do this natively in IIS and no real way to do it using DNS.

    About the only way I can think of to get this functionality would be to use something like the Pro version of ISAPIRewrite ( and configure it to watch for requests to the /site1 URL and *proxy* them to the appropriate address.

    Dave Dietz

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
    If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now