How to Add a Custom Mime Type

Plesk Servers > Plesk Control Panel
 
Adding a Custom MIME Type

If you are trying to download files from your website and you are getting 404 Not found error messages, you may need to add a custom mime type. Custom mime types are only required for "non-standard" files with extensions such as "MyFile.acd".

 
Add a Custom Mime Type in Plesk 12.x/ 12.5
  1. Log into your Control Panel.
  2. Choose the correct subscription from the drop down menu in the upper right.
  3. Under the Domains tab, click on your domain name.
  4. Click on the Websites & Domains tab.
  5. Click Show More under the original domain name (not any Domain Aliases). 
  6. Click on the Virtual Directories icon.
  7. Click on the Mime Types tab.
  8. Click the Add Mime Type icon.
  9. Enter the file extension as well as the Content.  For example:
    • Extension:  .m4v
    • Content:  video/mp4
  10. Click OK.
 
Add a Custom Mime Type in Plesk 11.x
  1. Log into your Control Panel.
  2. Choose the correct subscription from the drop down menu in the upper right.
  3. Under the Domains tab, click on your domain name.
  4. Click on the Websites & Domains tab.
  5. Click Show Advanced Operations. 
  6. Click on the Virtual Directories icon.
  7. Click on the Mime Types tab.
  8. Click the Add Mime Type icon.
  9. Enter the file extension as well as the Content.  For example:
    • Extension:  .m4v
    • Content:  video/mp4
  10. Click OK.
Add a Custom Mime Type in Plesk 9.x
  1. Log into your Control Panel.
  2. Click on the Home tab.
  3. Click on Domains.
  4. Click on your domain name.
  5. Under the Files section, click on the Virtual Directories icon.
  6. Click on the Mime Types tab.
  7. Click the Add Mime Type icon.
  8. Enter the file extension as well as the Content.  For example:
    • Extension:  .m4v
    • Content:  video/mp4
  9. Click OK.
Note:  You may have to use a search engine to find the correct content type for your file extension.
 
Common Mime Types Include:
 
Silverlight Mime Types (Required to Enable Silverlight)
.xap     application/x-silverlight-app
.xaml    application/xaml+xml
.xbap    application/x-ms-xbap

Add Feedback