Add IIS URL Rewrite

By default IIS is missing the URL rewrite.

Looking at a fresh install of IIS admin view, the icon which should be found within the section, IIS, is missing.

Having gone through the sequence to add as detailed in the article Adding ASP.NET Features to IIS7.5, I expected to find it as an option here.

Adding ASP.NET Features in IIS 7.5 Including ASP.NET

But it’s not listed.

To add this visit the page and follow the instructions, downloading and running the module.

Here’s a view of the IIS admin screen with the URL Rewrite icon, sitting between the Server Certificates and Worker Processes on the bottom row of the IIS section.

Add IIS URL rewrite, icon added



Adding ASP.NET Features to IIS7.5

By default Windows 7 IIS is missing the features, shown above the IIS section in the control panel

The control panel is shown below with only the IIS options and Management options.

Adding ASP.NET Features in IIS 7.5

To add the features. Begin by opening the control panel and selecting from the Programs section the option Turn Windows features on and off.

Adding ASP.NET Features in IIS 7.5 Windows Features

Click on the checkbox for ASP.NET.


Adding ASP.NET Features in IIS 7.5 Windows Features add ASP.NET

There’s a dialogue window confirming that the amendment is taking place:

Please wait while Windows makes changes to features. This may take several minutes.

You may find that this takes a few minutes. Wait whilst the dialogue completes.

I have read that IIS is to be restarted for the change to show. However, for me it was sufficient to close the management window and reopen it once more.


Adding ASP.NET Features in IIS 7.5 Including ASP.NET


Whilst the control panel ASP.NET section is missing by default its easy to add it in, following the steps above beginning with the control panel.


Install IIS on Windows 10

For testing and development it’s convenient to install IIS on a Windows computer. In this case Windows 10.

IIS is installed through the Windows features control panel.

To access the Windows features, begin by opening the control panel by right clicking on the Windows logo. From the control panel home select the Programs and then Turn Windows features on and off.

Or if you prefer type the name of the control panel appwiz.cpl into the search box and press enter.

This will open the first stage, the Programs and features control panel.

Windows 10 install IIS programs and features

Click on Turn Windows features on or off in the left hand menu column. This will open a popup showing the list of features available.

Windows 10 install IIS Windows features

From the list select entries pertaining to IIS.

Windows 10 install IIS Windows features IIS options

You may wish to select the outer element allowing it to populate a typical set of options.

Once done click on OK at the bottom

Windows 10 install IIS Windows features applying changes

The new additions will be added.

Windows 10 install IIS Windows features changes completed

Until all is installed.

Checkout your installation of IIS by navigating to http://localhost.

Windows10 install IIS localhost confirmation


IIS Adding Support for Font Families

By default IIS doesn’t support all of the font family types used in CSS. Additional media support entries may be required.

Below is a typical font family definition, as used within a CSS file.

@font-face {font-family: 'my-font';src:
    url(inc/fonts/my-font.otf) format('truetype'),
    url(inc/fonts/my-font.eot) format('eot'),
    url(inc/fonts/my-font.woff) format('woff');}

Whilst configuring a website hosted on Windows server I found that Internet Explorer wasn’t adopting the specified font family.

I checked the HTML and CSS on a Linux server with Apache. All was well and Internet Explorer was showing the correct font, confirming that my definitions were correct, no spelling errors or missing characters.

Using Firebug on Firefox I was able to see that the woff file was being requested but not downloaded.

By adding the media type for woff to IIS I was able to resolve this problem.

Add font Media Type

Font media types are added to IIS as per any media type.

IIS adding font familiy support

From within the IIS manager select the server root in the left menu to show its home menu, with options for IIS, management and not shown in this view, ASP.NET, FTP.

IIS adding font familiy support mime types

Click on the MIME Types, within the IIS section to show a list of those configured.

IIS adding font familiy support add mime type

At the top right corner click on Add.

IIS adding font familiy support add mime type woff

To add a new MIME type enter the extension and the MIME type within the Add MIME Type popup window:

IIS adding font familiy support mime types includes woff

The addition of the woff font added to the list of installed MIME Types.

IIS Media Types

The table below gives the media types for the common font types

Extension Media Type
.eot application/
.ttf application/octet-stream
.otf application/font-sfnt
.svg image/svg+xml
.woff application/font-woff
.woff2 application/font-woff2

Looking at the IIS mime support for the font types I observed the following default font support:

Media Type Extension Configured by default
TrueType .ttf Yes
Embedded OpenType .eot Yes
OpenType .otf No
Web Open Font Format .woff No

HTTP Error 503. The Service is Unavailable

Re-activating an old website on IIS the browser showed HTTP Error 503.

More fully the error given within the browser was:

HTTP Error 503. The Service is Unavailable

The website was a development site which had been stopped and was now to be re-activated.

Reviewing the IIS settings for the website, nothing looked to be wrong. It was running.

A review of the assigned application pool showed this to have also been stopped , at the time the website was taken off-line.

This error was caused by the application pool not being enabled in IIS.

In IIS click on the Application Pools menu item in the left hand tree menu to show a list of the Application Pools.

If the application pool is stopped, click on its line item and then in the right column click on Start.