Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: IIS6 ASP.NET SQL-Server Server , +
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 13-Jan-13 21:16pm
Rate this: bad
good
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.
  Permalink  
Rate this: bad
good
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[^]
  Permalink  
Comments
Software Engineer 892 at 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 at 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 at 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 at 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)

  Print Answers RSS
0 OriginalGriff 505
1 Maciej Los 309
2 BillWoodruff 174
3 /\jmot 160
4 Suraj Sahoo | Coding Passion 160
0 OriginalGriff 8,484
1 Sergey Alexandrovich Kryukov 7,407
2 DamithSL 5,639
3 Maciej Los 5,159
4 Manas Bhardwaj 4,986


Advertise | Privacy | Mobile
Web01 | 2.8.1411023.1 | Last Updated 14 Jan 2013
Copyright © CodeProject, 1999-2014
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