# Apache mongrel and IIS..hosting asp and rails on same server

**URL:** <https://www.ruby-forum.com/t/apache-mongrel-and-iis-hosting-asp-and-rails-on-same-server/156184>\
**Category:** Rails\
**Created:** [December 22, 2008, 10:48am UTC](https://www.ruby-forum.com/t/apache-mongrel-and-iis-hosting-asp-and-rails-on-same-server/156184 "2008-12-22T10:48:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ankit2584](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/51bf81/32.png) [@ankit2584](https://www.ruby-forum.com/u/ankit2584)\
**Post date:** [December 22, 2008, 10:48am UTC](https://www.ruby-forum.com/t/apache-mongrel-and-iis-hosting-asp-and-rails-on-same-server/156184/1 "2008-12-22T10:48:29Z")

</div>

Hello,  
I am running [ASP.NET](http://ASP.NET) on IIS and on the same server am running rails. I  
have started multiple instances of mongrel as service and apache does  
the load balancing.  
THE PROBLEM IS i want to run the [ASP.NET](http://ASP.NET) website on IIS and at the same  
time run the rails website through apache mongrel combination(Suggest  
any better way if you have). Since I can only run one website at port  
80. How am I to achieve this.? Also I want my primary server to be IIS,  
i.e if any routing is done it should be done from IIS to apache.  
Please help.  
Thank you.
