A MIME type tells a browser what kind of content a file contains. This guide explains how to add a file extension mapping in cPanel when your website needs a MIME type that is not already configured.
Add the MIME type
- Log in to cPanel and open Advanced > MIME Types.
- Check the existing mappings to see whether the required extension is already covered.
- In MIME Type, enter the correct media type, for example
application/jsonfor JSON files. - In Extension(s), enter the corresponding extension, for example
json. - Click Add.
- Request a matching file from your website and check its Content-Type response header using your browser’s developer tools.

Adding a MIME type does not convert file contents or install browser support for a format. If the response still uses a different type, application code or another web server configuration may be setting the header.
Remove a custom mapping
Find the mapping under the user-defined MIME types, click Delete and confirm. System MIME types cannot be deleted through this interface.