Apache AND IIS on same Server - 2 domains..

Discussion in 'Apache' started by joeblack, Jun 20, 2007.

  1. #1
    HI,

    I have a Windows2000 server With Apache2 running on port:80 and IIS on port:8080

    I have name1.mycompany.com and name2.mycompany.com

    Request for name1.mycompany.com should go to the Apache:)80)
    and all requests for name2.mycompany.com should be forwarded to the the IIS server :)8080).

    On the WAN(Internet) side I gave them to different IP's:
    name1.mycompany.com x.xxx.xxx.1 (Ends at Apache:80)
    name2.mycompany.com x.xxx.xxx.2 (Ends at IIS:8080)

    In my firewall I used NAT to control them, it works BUT,

    Question :

    It would be nice to use only a single IP(on WAN side) and then let Apache forward all request for name2.mycompany.com to IIS at :8080, how can this be done ?

    Regards
     
    joeblack, Jun 20, 2007 IP