Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

how can i install IIS and Apache in a same box

Hi, as requirment from my job, I need to use both apache and IIS in my testing computer. Unfortunately, I have no idea how could i have both of them in a same computer box. I would very preciate your help.

Thank you

Comments

  • zibadianzibadian Member Posts: 6,349
    : Hi, as requirment from my job, I need to use both apache and IIS in
    : my testing computer. Unfortunately, I have no idea how could i have
    : both of them in a same computer box. I would very preciate your
    : help.
    :
    : Thank you

    Assign both servers different ports. Then open only one of the them to the internet. If the URL has a certain part in it, then use an internal redirect to the other port.
    Example:
    Apache: port 80 (open to internet)
    IIS: port 8000 (closed)
    Any url starting with "www.mysite.com/iis/" is redirected by apache to "localhost:8000/", and thus handled by the IIS server.
  • minhnguyena7minhnguyena7 Member Posts: 145
    thank you very much. I now setup the apache as localhost:88 and IIS as localhost. It's working perfectly.
Sign In or Register to comment.