WebSite vs Virtual Directory vs Web Application

on Wednesday, October 21, 2009

WebSite- each web site can have different IPAddress ,Port as well as host headers. So suppose a website url is http://www.abc.com:111

Virtual Application - Each virtual application can have their own application pool. So it is like separating process boundries and make sure that it doesn't interfere with other virtual applications. They fall under a website so all the virtual applications under a perticular website will have same ipaddress and port. So all virual application will have the URLs like http://www.abc.com:111/app1  , http://www.abc.com:111/app2.


Virtual Directory - You can convert any folder in IIS to virtual directory and virtual directory only has alias and a physical path mapping. All Virtual directories under the web site will have the URLs like http://www.abc.com:111/virdir 



0 comments: