Click here to Skip to main content
15,881,092 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi Friends,

Good day to everyone of you.

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

I have created TWO Web applications in Asp.net 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

THANKS.
Posted

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.
 
Share this answer
 
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[^]
 
Share this answer
 
Comments
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    
:doh:

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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900