You are previewing Microsoft® IIS 6.0 Administrator's Pocket Consultant.
O'Reilly logo
Microsoft® IIS 6.0 Administrator's Pocket Consultant

Book Description

This pocket-sized guide delivers immediate answers for the day-to-day administration of Web servers running Microsoft® IIS 6.0. Zero in on core IIS support procedures and everyday tasks using quick-reference tables, step-by-step instructions, and lists.

Table of Contents

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