Book description
Deploy and support Internet Information Services (IIS) 6.0 with tools and technical information—straight from the Microsoft IIS product team.
Table of contents
-
Internet Information Services (IIS) 6.0
- SPECIAL OFFER: Upgrade this ebook with O’Reilly
- A Note Regarding Supplemental Files
- Acknowledgments
- Introduction
-
I. Deploying Internet Information Services (IIS) 6.0
-
1. Overview of Deploying IIS 6.0
- Overview of Deploying an IIS 6.0 Web Server
- Overview of IIS 6.0
- Determining Application Compatibility with IIS 6.0
-
Moving from IIS 5.0 Isolation Mode to Worker Process Isolation Mode
- Reviewing Application Isolation Modes
-
Benefits of Moving to Worker Process Isolation Mode
- Security Enhancements
- Performance and Scaling Enhancements
-
Availability Enhancements
- Reduced number of server restarts that are required when administering Web sites and applications
- A fault-tolerant request-processing model for Web sites and applications
- Isolation of failed worker processes from healthy worker processes
- Health monitoring of Web sites and applications
- Prevention of Web sites or applications that fail quickly from consuming system resources
- Automatic restart of poorly performing Web sites and applications
-
2. Deploying ASP.NET Applications in IIS 6.0
- Overview of Deploying ASP.NET Applications in IIS 6.0
- Deploying the Web Server
-
Installing ASP.NET Applications
- Creating Web Sites and Virtual Directories for each ASP.NET Application
- Copying ASP.NET Application Content
-
Enabling Common Storage for ASP.NET Session State
- Selecting the Method for Maintaining and Storing ASP.NET Session State
- Configuring Out-of-Process Session State with the ASP.NET State Service
- Configuring Out-of-Process Session State with SQL Server
- Configuring Encryption and Validation Keys
- Configuring ASP.NET Applications to Use the Appropriate Session State
- Securing the ASP.NET Session State Connection String
- Completing the ASP.NET Application Deployment
- Additional Resources
-
3. Securing Web Sites and Applications
- Overview of the Securing Web Sites and Applications Process
- Reducing the Attack Surface of the Web Server
- Preventing Unauthorized Access to Web Sites and Applications
- Isolating Web Sites and Applications
- Configuring User Authentication
- Encrypting Confidential Data Exchanged with Clients
- Maintaining Web Site and Application Security
- Additional Resources
-
4. Ensuring Application Availability
- Overview of the Ensuring Application Availability Process
- Establishing Application Availability Goals
- Configuring IIS 6.0 for Optimum Availability
- Testing Applications for Compatibility
- Additional Resources
-
5. Upgrading an IIS Server to IIS 6.0
- Overview of Upgrading an IIS Server to IIS 6.0
-
Preparing to Upgrade
- Determining Compatibility with Windows Server 2003
- Identifying and Compensating for Changes to IIS 6.0
-
Determining Application Compatibility with Worker Process Isolation Mode
-
Evaluating the Benefits of Worker Process Isolation Mode
- Security Enhancements
- Performance and Scaling Enhancements
-
Availability Enhancements
- Reduced number of Web server restarts required when administering Web sites and applications
- A fault-tolerant request processing model for Web sites and applications
- Isolation of failed worker processes from healthy worker processes
- Health monitoring of Web sites and applications
- Prevention of Web sites or applications that fail quickly from consuming system resources
- Automatic restart of poorly performing Web sites and applications
- Evaluating Application Changes Required for Worker Process Isolation Mode
- Evaluating Management and Provisioning Script Changes Required for Worker Process Isolation Mode
- Verifying Application Compatibility with Worker Process Isolation Mode in a Lab
-
Evaluating the Benefits of Worker Process Isolation Mode
- Determining Application Compatibility with the .NET Framework
- Performing the Upgrade
- Converting to Worker Process Isolation Mode
- Configuring IIS 6.0 Properties
-
Configuring IIS 6.0 to Host ASP.NET Applications
- Configuring IIS 6.0 to Use the Correct Version of the .NET Framework
- Configuring the .NET Framework
- Reviewing How ASP.NET Applications Run In Each Application Isolation Mode
- Migrating Machine.config Attributes to IIS 6.0 Metabase Property Settings
- Migrating Health-Related Attributes
-
Migrating Identity-Related Attributes
-
Migrating the username Attribute
- Option 1 Configure IIS 6.0 to use NetworkService
- Option 2 Configure IIS 6.0 to use a new service account and grant the account the minimal user rights or group membership to allow the applications to run successfully
- Option 3 Configure IIS 6.0 to use a new service account that belongs to the local Administrators group
- Migrating the password Attribute
-
Migrating the username Attribute
- Completing the Upgrade
- Additional Resources
-
6. Migrating IIS Web Sites to IIS 6.0
- Overview of Migrating IIS Web Sites to IIS 6.0
-
Preparing for Migration
- Identifying Which Web Site and Application Components to Migrate
- Determining Compatibility with Windows Server 2003
-
Determining Application Compatibility with Worker Process Isolation Mode
-
Evaluating the Benefits of Worker Process Isolation Mode
- Security Enhancements
- Performance and Scaling Enhancements
-
Availability Enhancements
- Reduced number of Web server restarts required when administering Web sites and applications
- A fault-tolerant request processing model for Web sites and applications
- Isolation of failed worker processes from healthy worker processes
- Health monitoring of Web sites and applications
- Prevention of Web sites or applications that fail quickly from consuming system resources
- Automatic restart of poorly performing Web sites and applications
- Evaluating Application Changes Required for Worker Process Isolation Mode
- Evaluating Management and Provisioning Script Changes Required for Worker Process Isolation Mode
- Verifying Application Compatibility with Worker Process Isolation Mode in a Lab
-
Evaluating the Benefits of Worker Process Isolation Mode
- Determining Application Compatibility with the .NET Framework
- Selecting a Migration Method
- Identifying the Role of the IIS 6.0 Migration Tool
- Deploying the Target Server
- Migrating Web Sites with the IIS 6.0 Migration Tool
-
Migrating Web Sites Manually
- Verifying That Clients Are Not Accessing Web Sites Before a Manual Migration
- Creating Web Sites and Virtual Directories
- Migrating Web Site Content
- Configuring Web Site Application Isolation Settings
-
Configuring IIS 6.0 Properties
- Configuring IIS 6.0 Properties That Reference Local User Accounts
- Configuring Web Service Extensions
- Configuring MIME Types
- Migrating Server Certificates for SSL
- Migrating FrontPage Users and Roles
- Configuring IIS 6.0 to Host ASP.NET Applications
- Determining Whether to Run the IIS Lockdown Tool and UrlScan
-
Performing Application-Specific Migration Tasks
- Modifying Application Code for Compatibility with Windows Server 2003 and IIS 6.0
- Installing Additional Software Required by Applications
- Migrating MTS Packages, COM Objects, and COM+ Applications
- Modifying ODBC Data Connection Strings and DSNs
- Creating IP Addresses That Are Used by Applications
- Creating Users and Groups That Are Used by Applications
- Creating Registry Entries for Applications
- Completing the Migration
- Additional Resources
-
7. Migrating Apache Web Sites to IIS 6.0
- Overview of Migrating Apache Web Sites to IIS 6.0
- Preparing for Migration
- Deploying the Target Server
- Performing the Migration
- Migrating Apache-Specific Extensions
- Configuring IIS 6.0
- Enabling Client Access After Migration
- Additional Resources
-
A. IIS Deployment Procedures
- Assign Additional IP Addresses to a Network Adapter
- Assign a Server Certificate to a Web Site
- Back Up and Restore Registry Entries
- Back Up and Restore the IIS Metabase
- Back Up and Restore the Web Server to a File or Tape
- Configure an ASP.NET Application for ASP.NET
- Configure Anonymous User Identity
- Configure a Web Site to be FrontPage Extended
- Configure Application Identity for IIS 5.0 Isolation Mode
- Configure Application Isolation Modes
- Configure Application Isolation Settings for IIS 5.0 Isolation Mode
- Configure Application Pool Health
- Configure Application Pool Identity
- Configure Application Pool Performance
- Configure Application Pool Recycling
- Configure FrontPage Server Roles
- Configure FTP Server Authentication
- Configure IIS Components and Services
- Configure IP Address Assigned to Web Sites
- Configure IP Address and Domain Name Restrictions
- Configure MIME Types
- Configure NTFS Permissions
- Configure the State Service on the ASP.NET State Server
- Configure the Registry
- Configure the Web Site Identification Number
- Configure Web Server Authentication
- Configure Web Service Extensions
- Configure Web Site Permissions
- Configure Windows Server 2003 Services
- Convert Existing Disk Volumes to NTFS
- Create a Service Account
- Create A SQL Server Database for Storing ASP.NET Session State
- Create a Virtual Directory
- Create a Web Site
- Debug Application Pool Failures
- Determine Web Sites Uniquely Identified by IP Addresses
- Disable Network Adapters
- Enable ASP.NET
- Enable Logging
- Enable Network Adapters
- Enable Security Auditing
- Enable the WWW Service After Upgrade
- Enable Web Site Content Auditing
- Export a Server Certificate
- Gather and Display WWW Service Uptime Data
- Grant User Rights to a Service Account
- Install a Server Certificate
- Install IIS 6.0
- Install Subauthentication
- Isolate Applications in Worker Process Isolation Mode
- Make a Service Account a Member of the Local Administrators Group
- Migrate CDONTS
- Modify the IIS Metabase Directly
- Monitor Active Web and FTP Connections
- Pause Web or FTP Sites
- Publish Web Site Content with FrontPage
- Remove Virtual Directories
- Request a Server Certificate
- Secure the Root Folder of Each Disk Volume
- Secure Windows Server 2003 Built-in Accounts
- Set Processor Affinity
- Stop the WWW Service
- Upgrade FrontPage Extended Web Sites
- View Application Isolation Configuration
- View Web Site and Application Process Identities
- B. Changes to Metabase Properties in IIS 6.0
-
1. Overview of Deploying IIS 6.0
-
II. Internet Information Services (IIS) 6.0 Resource Guide
- 8. Introducing IIS 6.0
-
9. IIS 6.0 Architecture
- Overview of IIS 6.0 Architecture
- IIS 6.0 Services
- IIS 6.0 Core Components
-
Application Isolation Modes
- Worker process isolation mode
- IIS 5.0 isolation mode
- Choosing an Application Isolation Mode
- Worker Process Isolation Mode
- IIS 5.0 Isolation Mode
- How ASP.NET Works with IIS 6.0
- Additional Resources
-
10. Running IIS 6.0 as an Application Server
- Introduction to Running an Application Server
- Configuring an Application Server Role
- Enabling Dynamic Content
-
Configuring an Application Isolation Mode
- Choosing an Application Isolation Mode
- Configuring an Application Isolation Mode
- Creating Application Pools
- Ensuring Application Health in Worker Process Isolation Mode
- Managing Resources in Worker Process Isolation Mode
- Running Web Applications
- Additional Resources
-
11. Working with the Metabase
- Overview of the IIS 6.0 Metabase
- Metabase Structure
- Metabase Security
- Backing Up and Restoring the Metabase
- Editing the Metabase
- Metabase Import and Export
- Additional Resources
-
12. Managing a Secure IIS 6.0 Solution
-
What's Changed
- IIS Installs in a Locked-Down Mode
- Restrictive MIME Types Reduce the Attack Surface of IIS
- Automatic Installation of Security Patches
- Authentication
- Access Control
- Encryption
- TCP/IP Port Filtering
- Secure Code
- MIME Types
- Additional Resources
-
What's Changed
-
13. Optimizing IIS 6.0 Performance
- Overview of Performance Monitoring and Tuning
-
Managing Network Activity
- Estimating Bandwidth Requirements and Connection Speed
- Monitoring Network Activity
-
Administering Network Resources
- Limiting Connections to Manage Resources
- Enabling HTTP Keep-Alives to Keep Connections Open
- Setting Connection Timeouts to Save Resources
-
Using HTTP Compression for Faster Downloads
- How HTTP Compression Works
- Determining Whether HTTP Compression Will Improve Performance
- Choosing Compression Options
- Enabling Global HTTP Compression
- Configuring HTTP Compression at Specific Metabase Levels
- Specifying File Types and Compression Schemes by Editing the Metabase
- Specifying the Location and Size of the Compression Directory for Static Compression
- Disabling HTTP Compression for Requests That Come Through Certain Proxy Servers
- Throttling Bandwidth to Manage Service Availability
- Using Other Features to Enhance Performance
-
Controlling Memory Usage
- Minimum Memory Requirements for IIS 6.0
- Memory Management and Memory Allocation in Windows Server 2003
- Monitoring Overall Server Memory
-
Optimizing Memory Usage
- Improve Data Organization
- Increase the Efficiency of High-Traffic Web Sites
- Try Disk Mirroring or Striping
- Add or Enlarge Paging Files
- Retime the IIS Object Cache
- Change the Balance of the File System Cache to the IIS 6.0 Working Set
- Limit Connections
- Limit the Queue Length for Application Pools
- Adjust Resource Allocation in Windows
- Limit Performance Logging
- Preventing Processor Bottlenecks
- Improving Application Performance
- Balancing Performance and Security
- Optimizing Performance Through Design
- Additional Resources
-
14. Web Server Scalability
- Scaling IIS 6.0
-
Improving IIS 6.0 Scalability and Availability with Network Load Balancing
-
IIS Responses to Load-Balanced Application Pool Behaviors
- IIS Response When a Load-Balanced Application Pool Enters Rapid-Fail Protection
- IIS Response When a Load-Balanced Application Pool Exceeds a Configured CPU Threshold
- IIS Response When a Load-Balanced Application Pool Is Disabled by an Administrator or an Administrator Shuts Down the WWW Service
- IIS Response When the Kernel-Mode Request Queue Is Full
- Preserving Session State in Network Load Balancing Web Server Clusters
-
IIS Responses to Load-Balanced Application Pool Behaviors
- Improving Scalability by Optimizing IIS 6.0 Queues
- Improving Scalability by Optimizing IIS 6.0 Caches
-
ISP Scaling — Strategies for Hosting Thousands of Sites
-
Shared Static Hosting
- Administer IIS by using command-line administration scripts or batch files
- Create a logical folder structure
- Use host header names to create multiple sites on one server
- Put all static sites in one application pool
- Run all static sites with the same anonymous user account
- Recycle the application pool worker process (optional)
- Monitor startup times
- Monitor performance
- Enable centralized binary logging
- Partition log files on multiple disks
-
Shared Static and Dynamic Hosting
- Separate static and dynamic content sites in different application pools
- Set content quotas for sites
- Consider enabling Quality of Service (QoS) features for sites that are resource-intensive
- Configure one unique anonymous user per site
- Develop processes for handling service packs, security patches, and hotfixes
- For ASP content, allow ASP pages to run on MTA instead of STA
- If you need to set up more than 60 application pools where each pool is running as a unique identity on a server, change the UseSharedWPDesktop registry key
- If IIS is spinning up too many worker processes and your server is running out of resources, set a maximum number of concurrent worker processes
- Locate misbehaving applications and isolate them in their own application pool
- Dedicated Hosting
-
Shared Static Hosting
- Improving Scalability Through UNC–Based Centralized Content Storage
- Case Study: Scaling an ASP.NET Web Application on IIS 6.0
- Additional Resources
-
15. Configuring Internet Sites and Services
- DNS Overview
- Configuring Web Sites
- Configuring FTP Sites
-
Configuring the NNTP Service
- Installing the NNTP Service and Setting Up NNTP Virtual Servers
- Configuring NNTP Virtual Server Properties
- Securing NNTP Virtual Servers
- Creating and Managing Newsgroups
- Rebuilding the NNTP Service
- Backing Up and Restoring an NNTP Virtual Server
- Enabling and Managing Newsfeeds
- Configuring the SMTP Service
- Additional Resources
-
16. IIS 6.0 Administration Scripts, Tips, and Tricks
- Creating and Configuring a Site Programmatically
- Creating a Web Site from a Template
- Managing IIS 6.0 Programmatically by Using ADSI
- Managing IIS 6.0 Programmatically by Using WMI
- Managing Server Certificates Programmatically
- Managing IIS 6.0 Remotely
- Scheduling IIS 6.0 Backups
- Restarting and Alternatives to Restarting IIS 6.0
- Additional Resources
-
17. Analyzing Log Files
- New in Logging
- Log File Formats in IIS
- HTTP.sys Error Log Files
- Custom Logging Modules
- Additional Resources
-
18. Troubleshooting IIS 6.0
- Overview of Troubleshooting IIS 6.0
- Tools for Troubleshooting IIS 6.0
- IIS Fundamentals
-
Common Troubleshooting Tasks
- Disabling HTTP Friendly Error Messages in Internet Explorer
- Generating an HTTP Request
- Checking Basic Functionality with Test Request Files
- Browsing with Different Host Name Styles
- Using Substatus and Win32 Errors in W3C Extended Logging
- Configuring the WWW Service to Log Worker Process Recycling Events
- Checking NT System and Application Event Logs
- Checking the HTTP Error Log
- Checking the IIS Logs
- Restarting IIS Services
- Identifying Worker Process Process ID
-
HTTP Status Codes
- HTTP 1xx-2xx — Informational and Success Codes
- HTTP 3xx — Redirection Codes
-
HTTP 40x — Client Error Codes
- HTTP 400-Cannot Resolve the Request
- HTTP 401.x-Unauthorized
- 401.1 and 401.2 — Authentication Problems
- HTTP 403.x-Forbidden
- HTTP 404.x-File or Directory Not Found
- 405-HTTP Verb Used to Access This Page Is Not Allowed
- 407-Initial Proxy Authentication Required by the Web Server
- 413-Request Entity Is Too Large
- 414-Request URL Is Too Large and Therefore Unacceptable on the Web Server
- HTTP 5xx Server Error Codes
- Other HTTP.sys Error Log Errors
-
Troubleshooting Configuration Problems
- Preserving the Integrity of XML in the IIS Metabase
- Troubleshooting Problems with UNC Content
- Troubleshooting HTTP.sys Problems
- Troubleshooting Miscellaneous Problems
- Advanced Troubleshooting
- Additional Resources
-
C. Common Administrative Tasks
- Overview of Common Administrative Tasks
- Important First Tasks in IIS 6.0
- Tasks New to IIS 6.0
-
Security-Related Tasks
- Setting Web Site Authentication
- Setting FTP Site Authentication
- Obtaining and Backing Up Server Certificates
- Controlling Access to Applications
- Tasks for Managing Servers and Applications
- Tasks for Administering Servers
- D. Unattended Setup
-
E. Using FrontPage 2002 Server Extensions with IIS 6.0
- Overview of FrontPage 2002 Server Extensions
- Preparing to Extend Web Sites
- Extending and Configuring Web Sites
- Configuring Advanced Security and Customization
- F. IIS 6.0 Performance Counters
- G. IIS 6.0 Event Messages
- H. Centralized Binary Log File Format
- I. IPv6 and IIS 6.0
- Glossary
- 19. Minimum System Requirements
- Index
- SPECIAL OFFER: Upgrade this ebook with O’Reilly
Product information
- Title: Internet Information Services (IIS) 6 Resource Kit
- Author(s):
- Release date: September 2003
- Publisher(s): Microsoft Press
- ISBN: 9780735614208
You might also like
book
Internet Information Services (IIS) 7.0 Resource Kit
Get the definitive reference for deploying, managing, and supporting Internet Information Services (IIS) 7.0. This official …
book
Internet Information Services (IIS) 7.0 Administrator’s Pocket Consultant
Portable and precise, this pocket-sized guide delivers immediate answers for the day-to-day administration of Web servers …
book
Microsoft® IIS 6.0 Administrator's Pocket Consultant
This pocket-sized guide delivers immediate answers for the day-to-day administration of Web servers running Microsoft® IIS …
book
ASP.NET 4 Unleashed
The most comprehensive book on Microsoft’s new ASP.NET 4, ASP.NET 4 Unleashed covers all facets of …