Allow IIS to download apk from Website


Many of the times we add APK file in the website for users to download, IIS by default allows only browser compatible file, so simply adding a link to apk will not allow the users to download it.


Step 1

  1. Open the Internet Information Service (IIS) Manager -> Properties
  2. Click MIME types
  3. New -> type Extension “.apk” and MIME type “application/”
  4. Click Ok and Apply

Step 2

Add following line of code to your web.config

<mimeMap fileExtension=”apk” mimeType=”application/” />

Leave your comment