Click here to Skip to main content
15,881,172 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I would like to host multiple applications on the same IIS. The problem is I need to use the same URL like www.example.com, but different directories. Also the port needs to be 80, or at least transparent to the end user, so I'd like to have something like his:

www.example.com/app1

www.example.com/app2

The problem is IIS does not let me create 2 sites with the same domain and the same port and I don't wanna use subdomains if possible.

Both apps should not be on the same site since they are separate applications with different mantainance schedules.

Is there a way to do this? Or do I have to use subdomains?
Posted
Comments
Rajesh Anuhya 30-Jan-12 2:18am    
IIS version??
--RA

 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 30-Jan-12 3:16am    
My 5.
I credited your answer and added some clarifications in my answer, please see.
--SA
thatraja 30-Jan-12 8:34am    
5!
From the standpoint of the HTTP server, "www.example.com/app1" and "http://www.example.com/app2" are not different applications. You can always do it with no hassles.

Different domain or sub-domain, different schema (HTTPS instead of HTTP) or different is what can make a difference for a server and this is also possible, please see the answer by Uma.

—SA
 
Share this answer
 

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