You can still get assistance by raising a ticket with our support department should you not be able to find what you are looking for here.

Define how browsers handle custom file extensions using MIME types in cPanel.

MIME types tell browsers how to handle file downloads and media formats. Add custom MIME types when serving uncommon file extensions.

Add a MIME type

  1. Go to Advanced → MIME Types.
  2. Enter the MIME type (for example application/json) and the file extension (for example .json without the leading dot in some versions).
  3. Click Add.

Common examples

  • .woff2 — web fonts for modern browsers.
  • .mjs — JavaScript modules.
  • .webp — WebP images (often already configured).

Incorrect MIME types can cause browsers to download files instead of displaying them. Remove custom entries if you experience unexpected behavior after adding them.

← Back to Advanced