Windows Hosting (Plesk) Help

Create custom MIME types

You can create custom MIME types on a Windows shared hosting account by modifying the web.config file.

The web.config file should be located in the root directory of your Web site. Using MP4 and MPV as examples, adding MIME types with IIS 7 looks like this:

<configuration>
     <system.webServer>
            <staticContent>
                  <mimeMap fileExtension=".mp4" mimeType="video/mp4" />
                  <mimeMap fileExtension=".m4v" mimeType="video/m4v" />
         </staticContent>
      </system.webServer>
</configuration>

Was This Article Helpful?
Thanks for your feedback. To speak with a customer service representative, please use the support phone number or chat option above.
Glad we helped! Anything more we can do for you?
Sorry about that. Tell us what was confusing or why the solution didn’t solve your problem.