Wednesday, 22 February 2012

IIS 7.0 Concepts

IIS 7.0 is more structured than IIS 6.0. It has a hierarchy of individual objects in IIS 7.0 schema. Sites are root object and contains application and applications contain virtual directory.
Web Sites :  
A web site is a collection of pages, images, video, or other digital content that is available via HTTP. The pages are usually in HTML, ASP, ASPX, or PHP format. Web Sites are hosted in Web Servers. Web Servers take request from browser and return data in the form of web site. Sites are the root objects that are containers for applications and virtual directories. Sites provide binding through which it can be accessed.

Binding contains two things : 
1. Binding Protocol : HTTP and HTTPS
2. Binding Information : IP Address, Port Number and and the host header(optional)

Multiple binding protocols also can be used for the same site.

Applications :
An application in IIS 7.0 is a collection of files and folders that serves content or provides services over protocols such as HTTP or HTTPS. In IIS 7.0, every site has at least one application, the root application, but sites can have many applications if needed.

Applications in IIS 7.0 support not only HTTP and HTTPS protocols, but other protocols as well. To support a protocol, a listener adapter must be specified in the <listenerAdapters> section in the configuration, and the protocol must be enabled in the <enabledProtocols> section of the configuration. As an example, the FTP protocol can be added to an application to create an FTP binding. Below is the section from applicationHost.config :

<listenerAdapters>
            <add name="http" />
            <add name="net.tcp" identity="S-1-5-80-3579033775-2824656752-1522793541-1960352512-462907086" />
            <add name="net.pipe" identity="S-1-5-80-2943419899-937267781-4189664001-1229628381-3982115073" />
            <add name="net.msmq" identity="S-1-5-80-89244771-1762554971-1007993102-348796144-2203111529" />
            <add name="msmq.formatname" identity="S-1-5-80-89244771-1762554971-1007993102-348796144-2203111529" />
</listenerAdapters>

Virtual Directories :
A virtual directory is the directory, or path, that maps to the physical location of the files on the local or remote server.

Creating a Web Site Using IIS Manager
1. Start IIS Manager by clicking Start Run, entering inetmgr, and then pressing Enter
2. Select the server to administer, click the Sites icon, and then select Add Web Site from the
Actions pane or by right-clicking the Sites icon.



No comments:

Post a Comment