Add Dmg To Iis Mime Type

Sometimes you´ll find yourself in the situation that users complain about broken download links on your website but you can´t figure out why. Because the files are there, the links are good and the webserver is working fine as well.

Add dmg to iis mime type video

I’m currently building a HTML 5 website, using Microsoft’s www.beautyoftheweb.com as inspiration. Taking inspiration sometimes means “borrowing” some of the graphics and styles on a site you like. I am not exactly sure if this is could be the problem, but on a Microsoft Internet Information Service (IIS) you have to add a MIME Type for the file. August 2, 2012April 23, 20137z, broken, download, iis, iso, links, mime, typeLeave a comment on Howto add a MIME type to IIS – broken download links.

If your webserver is an IIS (Microsoft Internet Information Services) then it probably misses the MIME type for the file to download.

Iis

Mime Types List

So here´s the solution:

Dmg
  1. Log onto your server and start the internet information services manager (IIS manager)
  2. Select your server from the connections panel on the left and double click MIME-Type in the IIS section of the panel on the right
  3. Now you can see all the MIME-Types that are already registered and known to the server
  4. Scroll down to see if your extension is already registered (e.g. “.7z” for the 7z compression standard)
  5. If your extension is already listed there, then this is not the solution for your problem. Sorry !
  6. If your extenion is not listed there then do a right click somewhere and choose “Add” from the menu
  7. Enter the extenion – for 7z it would be “.7z”, for ISO image it would be “.iso”
  8. Now enter the MIME-Type depending on what extension you want to register. For 7z it would be “application/x-7z-compressed” and for ISO it would be “application/octet-stream”.
  9. Test your download links – if it works, good. If not you have to restart your IIS.
  10. You´re done !

Add Dmg To Iis Mime Type Video

See the screenshots below to see what to do and where. They are from a german version of IIS, but the general structure is the same as in the english version.