IIS 7 Server 2008

Installing IIS 7 on Windows Server 2008

Since the IIS web server is not installed by default, the first thing we have to do is install IIS as a role for the server we are working on.

1. Click on Start -> Administrative Tools -> Server Manager

2. In Server Manager scroll down to Roles Summary, and click on Add Roles

3. The Add Roles Wizard starts at this point and warns you that if you are going to add a role to make sure:

4. Click Next to go the Add Server Role page. Place a checkmark next toWeb Server (IIS) and then click on the button Next

5. The next page will give you some basic information on IIS Web Servers and a few links with extra information if needed. Click on the button Next to continue

6. The next window is the Select Role Services. This very important screen will allow you to add only the modules necessary for your planned installation of IIS.

When you choose a module in this screen in the upper right corner you will get more information about what the module is for. For our example we are going to load the following modules:

Static Content – Lets the Web server publish static Web file formats, such as HTML pages and image files.

Use Static Content to publish files on your Web server that users can view using a Web browser.

Default Document – Lets you configure a default file for the Web server to return when users do not specify a file in a URL.

Default Documents make it easier and more convenient for users to reach your Web site.

HTTP Errors – Allows you to customize the error messages returned to users’ browsers when the Web server detects a fault condition.

Use HTTP Errors to provide users with a better user experience when they run up against an error message. Consider providing users with an e-mail address for staff who can help them resolve the error.

HTTP Redirection – Provides support to redirect user requests to a specific destination.

Use HTTP redirection whenever you want customers who are using one URL to actually end up at another URL. This is helpful in many situations, from simply renaming your Web site, to overcoming a domain name that is difficult to spell, or forcing clients to use a secure channel.

HTTP Logging – Provides logging of Web site activity for this server.

When a loggable event, usually an HTTP transaction, occurs, IIS calls the selected logging module, which then writes to one of the logs stored in the files system of the Web server. These logs are in addition to those provided by the operating system.

Request Filtering – Screens all incoming requests to the server and filters these requests based on rules set by the administrator.

Many malicious attacks share common characteristics, like extremely long requests, or requests for an unusual action. By filtering requests, you can attempt to mitigate the impact of these types of attacks.

IIS Management Console – Provides infrastructure to manage IIS 7 by using a user interface.

You can use the IIS management console to manage a local or remote Web server that runs IIS 7. To manage SMTP or FTP, you must install and use the IIS 6 Management Console.

7. Click Next to get to the Confirm Installation Selections screen to verify your chosen settings.

8. Click Install and installation will start

9. After installation you should see the Installation Results page. Click Closeto finish the process.

10. In the Server Manager window, under Roles Summary, you should now see Web Server (IIS)

11. Let’s go ahead and open IIS Manager by going to Start -> Administrative Tools -> Internet Information Services (IIS) Manager

12. Once IIS Manager opens, expand out the web server and then expand the Sites folder. Right click on sites and then click on Add Web Site

13. In the Add Web Site window we have some basic information to fill out for a static site:

You have now installed IIS 7 and configured a static website. Just place your html files in the directory you specified when creating the site and you are good to go.