Right click on the mahaarq.com website in the iis manager and select add a virtual directory. Name the virtual directory citizen. This will add the second site named mahaarq.com/citizen
Since you have two sites that requires different technology, it is recommended to create 2 separate application pools, i.e. one for mahaarg.com and the other one is for mahaarg.com/citizen
Obviously, you need to convert "citizen" subfolder into a virtual directory and then, you can assign this virtual directory to a separate application pool.
Please let me know the outcome.
If my response solves your issue, I appreciate if you can mark it as an "answer". Thanks heaps!
deshmukhshiv...
0 Points
5 Posts
Deploy Two Websites on a Single port
Apr 24, 2012 10:01 AM|LINK
I am having two web application
1) .net f/w 2.0 , classic .net pooling , asp site
2) .net f/w 3.5 , integrated pooling , mvc 2.0
i want to host my applications on IIS 7.5 but having only one Port Open (i.e. 80)
e.g. my first sites url is mahaarg.com then second sites url i want to be mahaarg.com/citizen
i was go through the
multiple sites on IIS7 under the same URL and port but on different directories
and
http://technet.microsoft.com/en-us/library/cc753195%28WS.10%29.aspx
but i am not getting what exact steps i need to achieve this.
mvc .net web.config
Ken Tucker
All-Star
16797 Points
2608 Posts
MVP
Re: Deploy Two Websites on a Single port
Apr 24, 2012 10:30 AM|LINK
Right click on the mahaarq.com website in the iis manager and select add a virtual directory. Name the virtual directory citizen. This will add the second site named mahaarq.com/citizen
Space Coast .Net User Group
deshmukhshiv...
0 Points
5 Posts
Re: Deploy Two Websites on a Single port
Apr 24, 2012 12:33 PM|LINK
Thank you Ken
i did that but when i run the virtual directory i get the error
<div id="details-left">necro_mancer
Star
8089 Points
1590 Posts
Re: Deploy Two Websites on a Single port
Apr 25, 2012 02:50 AM|LINK
hi desh,
Since you have two sites that requires different technology, it is recommended to create 2 separate application pools, i.e. one for mahaarg.com and the other one is for mahaarg.com/citizen
Obviously, you need to convert "citizen" subfolder into a virtual directory and then, you can assign this virtual directory to a separate application pool.
Please let me know the outcome.
If my response solves your issue, I appreciate if you can mark it as an "answer". Thanks heaps!
mvc .net web.config
Professional SQL 2008 R2 Service
deshmukhshiv...
0 Points
5 Posts
Re: Deploy Two Websites on a Single port
Apr 25, 2012 05:10 AM|LINK
Thank you necro_mancer
i converted "citizen" subfolder into a virtual directory but i am not getting the option to set the application pool of Virtual Directory
whenever i click any option i get the alert " There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler' section defined"
i want to know whether it is possible at all in IIS to deploy two applications with differnet .net f/w and diff. pooling on same port
no where they mentioned the steps to achieve it.
if you have any idea please let me know