Using Apache and IIS to redirecting website traffic in the same server.

Posted on 2008-11-09
Medium Priority
Last Modified: 2016-12-08
Hi All,

I have Exchange Server 2007 which runs OWA, hosting file to download and also I've deployed Atlassian Jira in the same machine, and I've got port 25, 80 and 443 tht are open, my question is:

how can i redirect a particular request like these:

https://imail.domain.com --> OWA
https://download.domain.com --> /Download directory
http://service.domain.com --> Jira ( working but SSL required)

https://service.domain.com --> Jira ( The page cannot be found because it refers to IIS directory not the Apache WebApps)
http://imail.domain.com --> Jira ( working but SSL required)
http://download.domain.com --> Jira ( working but SSL required)

what i did: assign port (random) to IIS other than 80, so that Apache can take over port 80 traffic.

for the first two, all is good by using ASP 3.0 script. but the problem is how can I enable SSL traffic which can be redirected to either IIS or Tomcat ?

any idea would be greatly appreciated.

Question by:jjoz
  • 2
LVL 37

Assisted Solution

meverest earned 300 total points
ID: 22918309

If you did this:

>> what i did: assign port (random) to IIS other than 80, so that Apache can take over port 80 traffic.

then you can do the same with ssl - just change the port for IIS to something else than 443 (like 444 or something)


Author Comment

ID: 22919160

if i change the port 443 in IIS, then OWA and Exchange Active Synch would be stopped as that port is needed by IIS to redirect the traffic. ?

I'm just wondering if there's something that can be done in IIS to redirect the traffic to use Port 443 to Apache so that Jira can run using HTTPS.
LVL 19

Accepted Solution

Jones911 earned 1200 total points
ID: 23069678
Setup apache as a reverse proxy.  Forward 443 to the apache box, redirect mail.domain.com to the iis box.  It's a little harder to do with ssl but this is they way to accomplish what you want.

Author Closing Comment

ID: 31514814
Thanks for the solution.

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The main intent of this article is to make you aware of ‘Exchange fail to mount’ error, its effects, causes, and solution.
Last month Marc Laliberte, WatchGuard’s Senior Threat Analyst, contributed reviewed the three major email authentication anti-phishing technology standards: SPF, DKIM, and DMARC. Learn more in part 2 of the series originally posted in Cyber Defense …
This video discusses moving either the default database or any database to a new volume.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Suggested Courses

862 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