Iis – Cannot serve epub files in IIS6

http-status-code-404iisiis-6

i am trying to serve epub files in IIS6 (Windows Server 2003), but instead the browser serves a 404 Not Found page.

How do i serve EPUB in IIS6?


  1. Open the IIS Microsoft Management Console (MMC), right-click the local computer name, and then click Properties.
  2. Click MIME Types.

    enter image description here

  3. Click New.

    enter image description here

  4. In the Extension box, type the file name extension that you want (.epub).

    enter image description here

  5. In the MIME Type box, type application/epub+zip.

    enter image description here

  6. And click OK:

    enter image description here

  7. Apply the new settings. Note that you must restart the World Wide Web Publishing Service or wait for the worker process to recycle for the changes to take effect.

    enter image description here

  8. Return to the MIME Types dialog, and confirm that your changes were not saved across IIS restart:

    enter image description here

  9. Also confirm that IIS is still not able to serve epub files:

    enter image description here

How do i serve EPUB from IIS 6 (Windows Server 2003)?

Bonus Reading

Best Answer

Try this:

  1. Open IIS manager
  2. Expand the server from the tree pane on left
  3. Expand Web Sites
  4. Right click on the web site that will be serving the epub files and select properties
  5. Open the HTTP Header tab and then MIME types from the bottom of the pane.
  6. Add the .epub extension with MIME type "application/epub+zip"