Follow instructions below, based on which version of Windows Server you’re using.
Windows Server 2008 R2
- Open the Server Manager.
- Click Roles on the left pane.
- Click Add Roles.
- Check Web Server (IIS).
- Install the components indicated below.
Web Server
- Common HTTP Features
- Static Content
- Default Document
- Directory Browsing
- HTTP Errors
- HTTP Redirection
- Application Development
- ASP.NET
- .NET Extensibility
- ASP
- CGI
- ISAPI Extensions
- ISAPI Filters
- Server Side Includes
- Heath and Diagnostics
- HTTP Logging
- Request Monitor
- Tracing
- Custom Logging
- Security
- Request Filtering
- Performance
- Static Content Compression
- Dynamic Content Compression
- Management Tools
- IIS Management Console
- IIS Management Scripts and Tools
Windows Server 2012/2012 R2
- Open the Server Manager.
- Click manage then Add Roles and Features.
- Select Role-based or feature-based installation.
- Select the server you wish to install to.
- Install the components indicated below.
Application Server
- .NET Framework 4.5
- TCP Port Sharing (Optional)
- Windows Process Activation Service Support
- HTTP Activation
- Named Pipes Activation
- TCP Activation
Web Server
- Common HTTP Features
- Default Document
- Directory Browsing
- HTTP Errors
- Static Content
- HTTP Redirection
- Health and Diagnostics
- HTTP Logging
- Custom Logging
- Logging Tools
- Request Monitor
- Tracing
- Performance
- Static Content Compression
- Dynamic Content Compression
- Centralized SSL Certificate Support (Optional)
- Application Development
- .NET Extensiblity 3.5
- .NET Extensiblity 4.5
- ASP
- ASP .NET 3.5
- ASP .NET 4.5
- CGI
- ASAPI Extensions
- ASAPI Filters
- Server Side Includes