How to set MIME types for web fonts in IIS?

Font Squirrel's @Font-face generator is one of the best free online tools to generate required font files and CSS rules. This tool allows you to upload your custom font files and download back the CSS rules along with necessary cross-browser compatible font formats. A typical @font-face declaration includes files like .eot, .woff, .ttf, and .svg. You may need to add following MIME types in IIS manager to serve this file types.

.eot   application/vnd.ms-fontobject
.ttf    application/octet-stream
.svg   image/svg+xml
.woff   application/font-woff
.woff2  application/font-woff2

  1. Open IIS Manager  (Start >> Run >> type inetmgr hit enter).
  2. Select the root node from the connections pane. Double-click MIME Types from features pane.

    MIME Type

  3. Click on Add link in the Actions pane. This will bring up the dialog box. Enter file extensions, specify corresponding MIME type and click on OK button.

    Add MIME Type

  • 0 Users Found This Useful

Was this answer helpful?

Related Articles

After Successful SSL Certificate Installation, It Disappeared From IIS Server Certificates

Suppose, you want to install SSL certificate on your domain, you've obtained the SSL certificate...

How to Configure FTP User Isolation in IIS 7?

Following article will assist you to configure FTP user isolation in IIS web server. In IIS...

Everything you should know about IIS Application Pools

1) What is an Application Pool? Application pool is a collection of one or more websites running...

How to Block an IP address From Visiting My Websites Through IIS?

You can restrict the access of any particular website for any specific IP address. You can add an...

How to change ASP session timeout from IIS 7?

Sessions are used to maintain a stateful HTTP connection. When session state is enabled for your...