:: Home

  login:         
  passwords:  

IIS 7.0 Administration

IIS 7.0 Administration

Introducing IIS 7.0 Configuration Architecture
IIS 7.0 and Your Hardware
IIS 7.0 Editions and Windows
Web Administration Tools and Techniques

Deploying IIS 7.0 in the Enterprise

IIS 7.0 Protocols
IIS 7.0 Roles
Navigating the IIS 7.0 Role Services and Features
Setting Up IIS 7.0
Managing Installed Roles and Role Services

Core IIS 7.0 Administration

Working with IIS and URLs
Understanding the Core IIS Architecture
Understanding the Services and Processing Architecture
Managing IIS Servers: The Essentials
Managing IIS Services

Managing IIS 7.0 from the Command Line

Using the Windows PowerShell
Working with Cmdlets
Using the IIS Command-Line Administration Tool
Working with IIS Commands

Managing Global IIS Configuration

Understanding Configuration Levels and Global Configuration
Managing Configuration Sections
Extending IIS with Modules
Managing Modules
Sharing Global Configuration

Configuring Web Sites and Directories

Web Site Naming and Identification
Creating Web Sites
Managing Web Sites and Their Properties
Creating Directories
Managing Directories and Their Properties

Customizing Web Server Content

Managing Web Content
Redirecting Browser Requests
Customizing Web Site Content and HTTP Headers
Customizing Web Server Error Messages
Using MIME and Configuring Custom File Types
Additional Customization Tips

Running IIS Applications

Managing ISAPI and CGI Application Settings
Managing ASP Settings
Managing ASP.NET Settings
Managing .NET Framework Settings

Managing Applications, Application Pools, and Worker Processes

Defining Custom Applications
Managing Custom IIS Applications
Managing ASP.NET and the .NET Framework
Working with Application Pools
Configuring Multiple Worker Processes for Application Pools
Configuring Worker Process Recycling
Maintaining Application Health and Performance

Managing Web Server Security

Managing Windows Security
Managing IIS Security

Managing Active Directory Certificate Services and SSL

Understanding SSL
Working with Active Directory Certificate Services
Creating and Installing Certificates
Working with SSL

Performance Tuning, Monitoring, and Tracing

Monitoring IIS Performance and Activity
Detecting and Resolving IIS Errors
Monitoring IIS Performance and Reliability
Tuning Web Server Performance
Strategies for Improving IIS Performance

Tracking User Access and Logging

Tracking Statistics: The Big Picture
Understanding Logging
Configuring Logging

IIS Backup and Recovery

Backing Up the IIS Configuration
Backing Up and Recovering Server Files

WPF Interview Questions

SilverLight Interview Qs

SAP Interview Questions

Oracle Interview Questions

PHP Interview Questions

Ajax Interview Questions

OOP Interview Questions

Ruby Interview Questions

Sql Server Interview Questions

Winforms Interview Questions

SharePoint 2007 Questions

Microsoft Crm Questions

Deploying IIS 7.0 in the Enterprise


Deploying IIS 7.0 in the Enterprise

Before you deploy Internet Information Services (IIS) 7.0, you should carefully plan the machine and administration architecture. As part of your planning, you need to look closely at the protocols and roles IIS will use and modify both server hardware and technology infrastructure accordingly to meet the requirements of these roles on a per-machine basis. Your early success with IIS 7.0 will largely depend on your understanding of the ways you can use the software and in your ability to deploy it to support these roles.

IIS 7.0 Protocols

TCP/IP is a protocol suite consisting of Transmission Control Protocol (TCP) and Internet Protocol (IP). TCP/IP is required for internetwork communications and for accessing the Internet. Whereas TCP operates at the transport layer and is a connection-oriented protocol designed for reliable end-to-end communications, IP operates at the network layer and is an internetworking protocol used to route packets of data over a network.

IIS 7.0 uses protocols that build on TCP/IP, including:

  • Hypertext Transfer Protocol (HTTP)

  • Secure Sockets Layer (SSL)

  • File Transfer Protocol (FTP)

  • Simple Mail Transfer Protocol (SMTP)

HTTP and SSL

As you probably already know, HTTP is an application-layer protocol that makes it possible to publish static and dynamic content on a server so that it can be viewed in client applications, such as Microsoft Windows Internet Explorer. Publishing a Web document is a simple matter of making the document available in the appropriate directory on an HTTP server and assigning the appropriate permissions so that an HTTP client application can access the document. An HTTP session works like this:

1.
The HTTP client application uses TCP to establish a connection to the HTTP server. The default (well-known) port used for HTTP connections is TCP port 80. You can configure servers to use other ports as well. For example, TCP port 8080 is a popular alternative to TCP port 80 for sites that are meant to have limited access.

2.
After connecting to the server, the HTTP client application requests a Web page or other resource from the server. In the client application, users specify the pages or resources they want to access by using a Web address, otherwise known as a Uniform Resource Locator (URL).

3.
The server responds to the request by sending the client the request resource and any other related files, such as images, that you've inserted into the requested resource. If you've enabled the HTTP Keep-Alive feature on the server, the TCP connection between the client and server remains open to speed up the transfer process for subsequent client requests. Otherwise, the TCP connection between the client and server is closed and the client must establish a new connection for subsequent transfer requests.

That in a nutshell is essentially how HTTP works. The protocol is meant to be simple yet dynamic, and it is the basis upon which the World Wide Web is built.

With HTTP, you can configure access to documents so that anyone can access a document or so that documents can be accessed only by authorized individuals. To allow anyone to access a document, you configure the document security so that clients can use Anonymous authentication. With Anonymous authentication, the HTTP server logs on the user automatically using a guest account, such as IUSR. To require authorization to access a document, configure the document security to require authentication using one of the available authentication mechanisms, such as Basic authentication, which requires a user to type a user name and password.

You can use Secure Sockets Layer (SSL) to enable Hypertext Transfer Protocol Secure (HTTPS) transfers. SSL is an Internet protocol used to encrypt authentication information and data transfers passed between HTTP clients and HTTP servers. With SSL, HTTP clients connect to Web pages using URLs that begin with https://. The https prefix tells the HTTP client to try to establish a connection using SSL. The default port used with secure connections is TCP port 443 rather than TCP port 80. FTP

FTP is an application-layer protocol that makes it possible for client applications to retrieve files from or transfer files to remote servers. FTP predates HTTP, and its usage is in decline as compared to HTTP. With FTP, you can publish a file so that a client can download it by making the file available in the appropriate directory on an FTP server and assigning the appropriate permissions so that an FTP client application can access the document. To upload a file to an FTP server, you must grant an FTP client application permission to log on to the server and access directories used for uploading files.

An FTP session works like this:

  1. The FTP client application uses TCP to establish a connection to the FTP server. The default (well-known) port used for FTP connections is TCP port 21. FTP servers listen on this port for client connection requests. After the client and server establish a connection, the server randomly assigns the client a TCP port number above 1023. This initial TCP connection (with port 21 for the server and a random port for the client) is then used for transmission of FTP control information, such as commands sent from the client to the server and response codes returned by the server to the client.

  2. The client then issues an FTP command to the server on TCP port 21. Standard FTP commands include GET for downloading a file, CD for changing directories, PUT for uploading files, and BIN for switching to binary mode.

  3. When the client initiates a data transfer with the server, the server opens a second TCP connection with the client for the data transfer. This connection uses TCP port 20 on the server and a randomly assigned TCP port above 1023 on the client. After the data transfer is complete, the second connection goes in a wait state until the client initiates another data transfer or the connection times out.

That in a nutshell is how FTP works. As you can see, FTP is a bit clunkier than HTTP, but it is still fairly simple.

Real World

What sets FTP and HTTP apart is primarily the way you transfer files. FTP transfers files as either standard text or encoded binaries. HTTP has the capability to communicate the file format to the client, and this capability allows the client to determine how to handle the file. If the client can handle the file format directly, it renders the file for display. If the client has a configured helper application, such as with PDF documents, the client can call the helper application and let it render the file for display within the client window. The component that makes it possible for HTTP clients and servers to determine file format is their support for the Multipurpose Internet Mail Extensions (MIME) protocol. Using the MIME protocol, an HTTP server identifies each file with its corresponding MIME type. For example, an HTML document has the MIME type text/html, and a GIF image has the MIME type image/gif.


With FTP, you can allow anonymous downloads and uploads in addition to restricted downloads and uploads. To allow anyone to access a file, configure directory security so that clients can use Anonymous authentication. With Anonymous authentication, the FTP server logs the user on automatically using a guest account and allows the anonymous user to download or upload files as appropriate. To require authorization to log on and access a directory, configure directory security to require authentication using one of the available authentication mechanisms, such as Basic authentication, which requires a user to type a user name and password prior to logging on and downloading or uploading files.

SMTP

SMTP is an application-layer protocol that makes it possible for client applications to send e-mail messages to servers and for servers to send e-mail messages to other servers. A related protocol for retrieving messages from a server is Post Office Protocol version 3 (POP3). In IIS 6, full implementations of Simple Mail Transfer Protocol (SMTP) and Post Office Protocol version 3 (POP3) are included. IIS 7.0 does not include SMTP or POP3 services.

With IIS 7.0, a Web application can send e-mail on behalf of a user by using the SMTP E-mail component of Microsoft ASP.NET. An SMTP session initiated by a Web application works like this:

  1. The Web application generates an e-mail message in response to something a user has done.

  2. The System.Net.Mail API (a component of ASP.NET) delivers the email to an online SMTP server or stores the message on disk where it is stored for later delivery.

  3. When sending mail to an SMTP server, the IIS server uses TCP port 25 to establish the connection. SMTP can be running on the local machine or on a different machine.

That is essentially how SMTP is used by Web applications. Microsoft doesn't provide other e-mail features as a part of IIS. However, a separate SMTP Server component is included as an optional feature that you can install on a computer running a Windows Server operating system.

 

Copyright 2007, Megasolutions Ltd