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

How to access your website via remote IIS?

First of all, you need to contact our support team in order to enable remote IIS login for your...

How to Backup/Restore IIS7 Configuration?

IIS 7 automatically makes history snapshots of ApplicationHost.config each time a change is...

How to configure IIS to access website using IP address?

IIS (Internet Information Services) allows you to access your website via an IP address. To...

What SMTP Settings Should I Use in web.config file?

In web.config SMTP settings, you can use your existing email address (whose authentication you...

How to Add Website in IIS?

This article will assist you to add new website in IIS. If you have opted for the WebsitePanel,...