Home Page Icon
Home Page
Table of Contents for
Microsoft® IIS 6.0: Administrator’s Pocket Consultant
Close
Microsoft® IIS 6.0: Administrator’s Pocket Consultant
by William R. Stanek
Microsoft® IIS 6.0 Administrator's Pocket Consultant
Microsoft® IIS 6.0: Administrator’s Pocket Consultant
SPECIAL OFFER: Upgrade this ebook with O’Reilly
Tables
Acknowledgments
Introduction
Who Is This Book For?
How Is This Book Organized?
Conventions Used in This Book
Support
I. Microsoft Windows Server 2003 Web Administration Fundamentals
1. Overview of Microsoft Web Services
Introducing IIS 6
IIS 6 Request Processing Architecture
IIS 6 Security Architecture
Additional IIS 6 Features
Choosing Appropriate Web Server Hardware
Choosing the Server Operating System
Working with IIS 6: What You Need to Know Right Now
Installing Web and Application Server Components and Default Sites
Installing Internet Services and Service-Related Accounts
Web Administration Tools and Techniques
Managing Resources with Key Administration Tools
Installing Administration Tools
Web Administration Techniques
2. Core IIS Administration
Understanding the IIS Architecture
Understanding and Using IIS 5 Isolation Mode
IIS 5 Isolation Mode Overview
Understanding Application Incompatibilities and Consequences
Switching to IIS 5 Isolation Mode
Understanding and Using Worker Process Isolation Mode
Benefits of Using Worker Processing Mode
Switching to Worker Processing Mode
Working with IIS and URLs
IIS and Application Server Snap-In Essentials
Starting and Using the Internet Information Services (IIS) Manager Snap-In
Connecting to Other Servers
Starting, Stopping, and Restarting All Internet Services
Starting, Stopping, and Pausing Individual Resources
Rebooting IIS Servers
Managing IIS Services
Key IIS Services
Starting, Stopping, and Pausing IIS Services
Configuring Service Startup
Configuring Service Recovery
II. Web Server Administration
3. Configuring Web Sites and Servers
Web Site Naming and Identification
Understanding IP Addresses and Name Resolution
Understanding Web Site Identifiers
Hosting Multiple Sites on a Single Server
Checking the Computer Name and IP Address of Servers
Managing Global Web Site Properties
Creating Web Sites
Managing Web Site Properties
Configuring a Site’s Home Directory
Configuring Ports, IP Addresses, and Host Names Used by Web Sites
Configuring Multiple Identities for a Single Web Site
Restricting Incoming Connections and Setting Time-Out Values
Configuring HTTP Keep-Alives
Managing Directories
Understanding Physical and Virtual Directory Structures
Creating Physical Directories
Creating Virtual Directories
Modifying Directory Properties
Renaming Directories
Deleting Directories
4. Customizing Web Server Content
Configuring Web Service Extensions
Using Web Service Extensions
Allowing and Prohibiting Web Service Extensions
Managing Web Content
Opening and Browsing Files
Modifying the IIS Properties of Files
Renaming Files
Deleting Files
Redirecting Browser Requests
Redirecting Requests to Other Directories or Web Sites
Redirecting All Requests to Another Web Site
Retrieving Files from a Network Share
Redirecting Requests to Applications
Customizing Browser Redirection
Customizing Web Site Content and HTTP Headers
Configuring Default Documents
Configuring Document Footers
Enabling Automatic Footers
Disabling Automatic Footers
Using Content Expiration and Preventing Browser Caching
Enabling Content Expiration
Disabling Content Expiration
Using Custom HTTP Headers
Using Content Ratings
Enabling Content Ratings
Disabling Content Ratings
Customizing Web Server Error Messages
Understanding Status Codes and Error Messages
Managing Custom Error Settings
Viewing Custom Error Settings
Editing Custom Error Settings
Using MIME and Configuring Custom File Types
Understanding MIME
Viewing and Configuring MIME Types for All Web Sites on a Server
Viewing and Configuring MIME Types for Individual Sites and Directories
Additional Customization Tips
Using Update Sites to Manage Outages
Using Jump Pages for Advertising
Handling 404 Errors and Preventing Dead Ends
5. Running IIS Applications
Essentials for Working with IIS Applications
Understanding ISAPI Applications
Understanding ASP Applications
Understanding ASP.NET Applications
Defining Custom Applications
Using and Running Applications
Application Protection Settings in IIS 5 Isolation Mode
Application Protection Settings in IIS 6 Worker Process Isolation Mode
Managing Custom IIS Applications
Creating Applications
Configuring Application Mappings and Caching
Adding Application Mappings
Editing Application Mappings
Removing Application Mappings
Managing Session State
Controlling Application Buffering
Setting Parent Paths, Default ASP Language, and ASP Script Time-Out
Enabling and Disabling Application Debugging
Configuring Application Error Messages
Unloading IIS 5 Isolated Applications
Deleting IIS Applications
Managing Custom ISAPI Filters
Viewing and Configuring Global Filters
Viewing and Configuring Local Filters
6. Managing ASP.NET, Application Pools, and Worker Processes
Managing ASP.NET
Installing ASP.NET
Running Side-by-Side ASP.NET Configurations
Defining ASP.NET Directory Structures and Applications
Working with the Assembly Cache
Deploying ASP.NET Applications
Uninstalling ASP.NET Versions
Working with Application Pools
Creating Application Pools
Assigning Applications to Application Pools
Configuring Application Pool Identities
Starting, Stopping, and Recycling Worker Processes Manually
Starting and Stopping Worker Processes Manually
Recycling Worker Processes Manually
Configuring Worker Process Startup and Shutdown Time Limits
Configuring Multiple Worker Processes for Application Pools
Configuring Worker Process Recycling
Recycling Automatically by Time and Number of Requests
Recycling Automatically by Memory Usage
Maintaining Application Health and Performance
Configuring CPU Monitoring
Configuring Failure Detection and Recovery
Shutting Down Idle Worker Processes
Limiting Request Queues
7. Managing Web Server Security
Managing Windows Security
Working with User and Group Accounts
IIS User and Group Essentials
Managing the IIS and Indexing Service Logon Accounts
Managing the Internet Guest Account
Managing the Web Application Account
Updating the Web Application Account in IIS 6 Worker Process Mode
Updating the Web Application Account in IIS 5 Isolation Mode
Working with File and Folder Permissions
File and Folder Permission Essentials
Viewing File and Folder Permissions
Setting File and Folder Permissions
Working with Group Policies
Group Policy Essentials
Setting Account Policies for IIS Servers
Setting Auditing Policies
Managing IIS Security
Setting Web Server Permissions
Understanding Web Server Permissions
Setting Web Server Permissions Globally
Setting Web Server Permissions Locally
Configuring Distributed Authoring and Versioning
Permitting Distributed Authoring and Versioning
Accessing and Publishing Documents with WebDAV
Setting Authentication Modes
Understanding Authentication
Enabling and Disabling Authentication
Configuring IP Address and Domain Name Restrictions
More Tips for Enhancing Web Server Security
Using Firewalls
Renaming the Administrator Account
Disabling the Default Web Site
Disabling Remote Administration from the Web
Disabling Directory Browsing
Creating Legal Notices
Applying Service Packs, Hot Fixes, and Templates
Checking for Malicious Input in Forms and Query Strings
Removing Unused Application Mappings
8. Managing Microsoft Certificate Services and SSL
Understanding SSL
Using SSL Encryption
Using SSL Certificates
Understanding SSL Encryption Strength
Working with Microsoft Certificate Services
Understanding Certificate Services
Installing Certificate Services
Accessing Certificate Services in a Browser
Starting and Stopping Certificate Services
Backing Up and Restoring the CA
Creating CA Backups
Recovering CA Information
Configuring Certificate Request Processing
Approving and Declining Pending Certificate Requests
Generating Certificates Manually in the Certification Authority Snap-In
Revoking Certificates
Reviewing and Renewing the Root CA Certificate
Creating and Installing Certificates
Creating Certificate Requests
Submitting Certificate Requests to Third-Party Authorities
Submitting Certificate Requests to Certificate Services
Processing Pending Requests and Installing Site Certificates
Deleting Pending Certificate Requests
Working with SSL
Configuring SSL Ports
Adding the CA Certificate to the Client Browser’s Root Store
Confirming that SSL Is Correctly Enabled
Resolving SSL Problems
Managing Site Certificates in the IIS Snap-In
Viewing and Modifying Issued Certificates
Renewing, Removing, and Replacing Certificates
Exporting Site Certificates
Ignoring, Accepting, and Requiring Client Certificates
Requiring SSL for All Communications
III. Essential Services Administration
9. Managing FTP Servers
Understanding FTP
FTP Essentials
Controlling FTP Server Access
Working with FTP Sessions
FTP Site Naming and Identification
FTP User Isolation for Busy Upload Sites
FTP Site Operators
Managing Global FTP Service Properties
Creating FTP Sites
Creating Non-Isolated FTP Sites
Creating Isolated FTP Sites Without Active Directory
Creating Isolated FTP Sites with Active Directory
Managing FTP Sites
Configuring an FTP Site’s Home Directory
Configuring Ports and IP Addresses Used by FTP Sites
Restricting Incoming Connections and Setting Time-Out Values
Creating Physical Directories for FTP Sites
Creating Virtual Directories for FTP Sites
Redirecting Requests to a Network Share
Setting the Directory Listing Style
Setting Banner, Welcome, Exit, and Maximum Connections Messages
Managing FTP User Sessions
Viewing FTP User Sessions
Viewing the Total Number of Connected Users
Terminating FTP User Sessions
Managing FTP Server Security
Managing Anonymous Connections
Setting Anonymous Access Globally
Setting Anonymous Access Locally
Configuring Windows Permissions on FTP Servers
Configuring FTP Server Permissions
Setting FTP Permissions Globally
Setting FTP Permissions Locally
Configuring IP Address and Domain Name Restrictions
10. Configuring and Maintaining E-Mail Services
Using Mail Services
Understanding E-Mail Domain Usage
Understanding the Mail Root
Understanding Mail Processing
Starting, Stopping, and Pausing E-Mail Services
Core SMTP Administration
Creating SMTP Virtual Servers
Configuring Ports and IP Addresses Used by SMTP Servers
Configuring Multiple Identities for SMTP Virtual Servers
Monitoring SMTP Virtual Server Health
Managing User Sessions
Configuring SMTP Service Domains
Viewing Configured Service Domains
Working with Local Domains
Creating Alias Domains
Setting the Default Domain
Changing the Drop Directory Settings for the Default Domain
Working with Remote Domains
Creating Remote Domains
Setting and Removing Relay Restrictions for Remote Domains
Switching SMTP Modes Used with Remote Domains
Queuing Messages for Remote Triggered Delivery
Configuring Authentication for Remote Domains
Configuring Smart Hosts for Remote Domains
Renaming and Deleting SMTP Service Domains
Core POP3 Administration
Configuring POP3 E-Mail Client and Server Authentication
Configuring POP3 Port Settings
Configuring the POP3 Root Mail Directory
Working with POP3 Domains
Viewing Domain Information
Creating Domains
Locking and Unlocking Domains
Deleting Domains
Working with Mailboxes
Checking Mailbox Size, Messages, and State
Creating Mailboxes
Locking and Unlocking Mailboxes
Resetting or Changing Mailbox Passwords
Deleting Mailboxes
11. Advanced E-Mail Service Configuration Options
Securing Incoming Connections
Securing Access by IP Address, Subnet, or Domain.
Controlling Secure Communications for Incoming Connections
Controlling Authentication for Incoming Connections
Restricting Incoming Connections and Setting Time-Out Values
Securing Outgoing Connections
Configuring Outbound Security
Controlling Outgoing Connections
Configuring Outgoing Message Limits for SMTP
Handling Non-Delivery, Bad Mail, and Unresolved Recipients
Setting and Removing Relay Restrictions
Managing Message Delivery
Setting Outbound Retry Intervals, Delay Notification, and Expiration Time-Out
Setting Message Hop Count
Setting Domain Name Options
Configuring Reverse DNS Lookups
Routing Outgoing Messages to Smart Hosts
12. Administering the Indexing Service
Getting Started with the Indexing Service
Using the Indexing Service
Indexing Service Essentials
Searching Catalogs
Core Indexing Service Administration
Setting Web Resources to Index
Viewing and Creating Catalogs
Viewing Indexing Status
Starting, Stopping, and Pausing the Indexing Service
Setting Indexing Service Properties
Optimizing Indexing Service Performance
Managing Catalogs
Viewing Catalog Properties and Directories Being Indexed
Adding Physical Directories to a Catalog
Forcing Full and Incremental Directory Rescans
Starting, Stopping, and Pausing Individual Catalogs
Merging Catalogs
Specifying Web or NNTP Sites to Include in Catalogs
Testing Catalogs with Queries
Finding and Resolving Catalog Problems
Limiting or Preventing File and Directory Indexing
IV. Performance, Optimization, and Maintenance
13. Performance Tuning and Monitoring
Monitoring IIS Performance and Activity
Why Monitor IIS?
Getting Ready to Monitor
Monitoring Tools and Resources
Detecting and Resolving IIS Errors
Examining the Access Logs
Examining the Windows Event Logs
Monitoring IIS Performance
Choosing Counters to Monitor
Creating and Managing Performance Logs
Creating and Managing Performance Logging
Creating Counter Logs
Creating Trace Logs
Replaying Performance Logs
Configuring Alerts for Performance Counters
Tuning Web Server Performance
Monitoring and Tuning Memory Usage
Setting Application Performance
Setting Data Throughput
Checking Memory, Caching, and Virtual Memory Usage
Monitoring and Tuning Processor Usage
Monitoring and Tuning Disk I/O
Monitoring and Tuning Network Bandwidth and Connectivity
Configuring Bandwidth Throttling and Connection Limits
Configuring HTTP Compression
14. Tracking User Access and Logging
Tracking Statistics: The Big Picture
Working with the NCSA Common Log File Format
Host Field
Identification Field
User Authentication Field
Time Stamp Field
HTTP Request Field
Status Code Field
Transfer Volume Field
Working with the Microsoft IIS Log File Format
Working with the W3C Extended Log File Format
Working with ODBC Logging
Working with Centralized Binary Logging
Understanding Logging
Configuring Logging for HTTP, SMTP, and FTP
Configuring NCSA Common Log File Format
Configuring Microsoft IIS Log File Format
Configuring W3C Extended Log File Format
Configuring ODBC Logging
Creating a Logging Database and Table in SQL Server 2000
Creating a DSN for SQL Server 2000
Enabling and Configuring ODBC Logging in IIS
Configuring Centralized Binary Logging
Disabling Logging
15. IIS Optimization and the Metabase
Strategies for Improving IIS Performance
Removing Unnecessary Applications and Services
Optimizing Content Usage
Optimizing ISAPI, ASP, and ASP.NET Applications
Optimizing IIS Caching, Queuing, and Pooling
Configuring Automatic Restarts of IIS
Managing IIS Registry Settings
Working with the Registry
Controlling IIS Through the Registry
Controlling the Indexing Service Through the Registry
Controlling Secure Sockets Layer Through the Registry
Managing IIS Metabase Settings
Examining and Editing the Metabase
Modifying Metabase Properties
Scripting the Metabase
16. IIS Backup & Recovery
Backing Up the IIS Configuration
Understanding IIS Configuration Backups
Understanding IIS Metabase History
Creating IIS Configuration Backups
Restoring IIS Server Configurations
Rebuilding Corrupted IIS Installations
Restoring Site Configurations
Restoring Virtual Directory Configurations
Restoring Application Pool Configurations
Deleting Server Backup Configurations
Backing Up and Recovering Server Files
Setting Default Options for Backup
Viewing and Setting Backup Exclusions
Backing Up Server Files
Recovering Server Files
About the Author
Index
SPECIAL OFFER: Upgrade this ebook with O’Reilly
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
Cover
Next
Next Chapter
SPECIAL OFFER: Upgrade this ebook with O’Reilly
Microsoft® IIS 6.0: Administrator’s Pocket Consultant
William R. Stanek
Copyright © 2009 William Stanek (All)
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset