ISA - how to publish virtual directory?

I have web server on server1, with two virtual directories: http://server1/site1 and http://server1/site2

How can I publish them on ISA so that internet user typing site1.company.com would get to /site1 and user typing site2.company.com would get to /site2?

Related question: I have published Outlook Web Access, and it's working; internet users have to type https://www.company.com/exchange. I would prefer them to type outlook.company com instead, which requires that I redirect the request from the root to virtual directory. How can I do that?

I came up with a solution of putting a trivial redirection script in the root, but once redirected, instead of the usual logon prompt the page fails with "500 Internal Server Error - The network logon failed. (1790)"
LVL 40
Vadim RappAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Keith AlabasterEnterprise ArchitectCommented:
Two ways.

1. Set one site on port 80 and the second site on port 81. Create two publishing rules each with its own listener (one on 80 and one on 81) and forward accordingly based on the fqdn.

2. Use the same listener and publishing rule but configure IIS to use site headers.

3. You will need to change the ssl certificate on the ISA and on the Exchange server to match the new name; change your external MX record to point to the new name (an alias will not work in this scenario). Create an A record on your external DNS for the name outlook, bridge or tunnel ssl on ISA to the exchange server, make a fudge to create the /exchange virtual directory appear as the top level of that web site. Rather you than me as its yukky, and a nightmare to support.....
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Keith AlabasterEnterprise ArchitectCommented:
On point 3, if you are only running OWA in http mode internally, you will only have to change the SSL certificate on ISA as you can bridge the ssl to http from ISA to Exchange
0
Keith AlabasterEnterprise ArchitectCommented:
How are you getting on?
0
Vadim RappAuthor Commented:
thanks, it worked. Sorry for forgetting to accept earlier.
0
Keith AlabasterEnterprise ArchitectCommented:
Not a problem, glad its sorted and thanks :)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Storage Software

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.