Click here to Skip to main content
13,248,927 members (44,715 online)
Rate this:
Please Sign up or sign in to vote.
Hi Friends,

Good day to everyone of you.

My Job is Based on Programming using , c# , SqlServer 2005.

I have created TWO Web applications in its works well.

Now Finally I want to Host in our local office server. By the way I have access to only one server. (Our Server is Windows 2003 with IIS 6)

I want to host this multiple web applications in one server. and i want to access both the applications using Slash(/).

Note : These two are different applications with different Databases.

Please give me a good solution

Posted 13-Jan-13 21:16pm
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

I suppose in your wwwroot folder have a folder called bin. Place any dlls your site may need inside including those of your web app. Place all aspx/ascx outside bin. Take care of maintaining site structure here; add necessary folders and place corresponding pages and configuration inside them. Finally take care of setting your AppPool configuration. It should point to the framework version your site runs on. Hope this helps.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

Note : These two are different applications with different Databases.
And the issue is? Just host both of them on your server one by one. Since both are separate application overall, you dont have to do anything additional.

Host one and then host other. Both will have their own URL's to get accessed.
Refer: Deployment of a Website on IIS6[^]
Software Engineer 892 14-Jan-13 2:52am
Sir, If i host one after the other its only opens one...because we can assign only one as default...Please help.
Sandeep Mewara 14-Jan-13 2:55am
Your issue is not clear. They are separate apps. Ofcourse they will have two different urls and one can open them only one after other. Opening any one will not open other.
Software Engineer 892 14-Jan-13 4:09am
I have Two web applications...ok

for the first application the start page is Home.aspx
and for second application the start page is login.aspx

and I have Windows 2003 IIS 7 Webserver.

In this i have created a virtual directory gave permissions and finally i gave default page as Home.aspx

and how to create another virtual directory and host 2nd application.

and Finally how to run the both applications.

Please help. THANKS.
Sandeep Mewara 14-Jan-13 5:04am

why are you so confused if you have two applications to host? Assume you are hosting them without existence of other. They have nothing in common to interfere with each other.

Two or more websites can be hosted on the webserver and used

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.171114.1 | Last Updated 14 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100