Multipurpose Internet Mail Extensions (MIME) is an internet standard that specifies how to open files with a specific extension. When a file is accessed, the browser uses its MIME type to open it with the correct application. This topic describes how to add a MIME type in the Web Hosting console for a Windows-based Web Hosting instance.
Procedure
All Windows-based Web Hosting instances (including Standard and Enhanced editions) support adding MIME types. This topic uses a Standard Dedicated Web Hosting instance as an example.
- Log on to the Cloud Web Hosting management page.
- Find the Cloud Web Hosting instance that you want to manage and click Manage in the Actions column.
-
In the left-side navigation pane, choose .
-
On the MIME Type Settings page, add a MIME type.
Important-
Web Hosting instances include common MIME types by default for file types such as HTML, JPG, and PNG. You do not need to configure them.
-
If a MIME type is not configured for a file type, such as MSU, MP3, MP4, or APK, you may receive an error message stating that the file cannot be opened or requires a plug-in.
The following example shows how to add a MIME type for an APK file:
-
In the file type text box, enter .apk.
-
In the application text box, enter application/vnd.android.package-archive.
-
Click Add.
-
-
In the dialog box that appears, click Confirm.
The MIME type for APK files is now configured.
Related topics
If you use a Standard Linux-based Web Hosting instance, you can manually add a MIME type in the pseudo-static rule file .htaccess to define how the server handles specific file extensions. For more information, see Add a MIME type for a Linux-based Web Hosting instance.