Fontawesome does not work when served by IIS
Why is @font-face throwing a 404 error on woff files?
Add the MIME types in the web config:
<system.webServer>
<staticContent>
<remove fileExtension=".woff" /> <!-- In case IIS already has this mime type -->
<mimeMap fileExtension=".woff" mimeType="application/x-font-woff" />
</staticContent>
</system.webServer>
You can open IIS, point to your website, In IIS session, select MIME Types. After Mime Types view showing, click Add -> In dialog:
- File name extension: .woff
- MiME types: application/x-font-woff
click OK.
Done.
This Answer is not for the above problem But for those who face similar error but due to different reason and land up into this thread.
I faced similar problem but later found that IIS was trying to look for font-awesome woff,eot files in the folder MyIpAddress/fonts/fontawesome-webfont.woof
but I had the files in different folder. Moving the fontawesome-webfont.eot, fontawesome-webfont.svg,fontawesome-webfont.ttf, fontawesome-webfont.woff
into my fonts folder solved my problem