1. Log in to DirectAdmin.

  2. Go to Advanced Features > MIME Types/Apache Handlers.

  3. Add a custom MIME type:Extension: File extension (e.g., .json).MIME Type: Corresponding type (e.g., application/json).

  4. Extension: File extension (e.g., .json).

  5. MIME Type: Corresponding type (e.g., application/json).

  6. Add a custom handler if needed:Handler: Define the handler (e.g., application/x-httpd-php).Extension: File extension (e.g., .php).

  7. Handler: Define the handler (e.g., application/x-httpd-php).

  8. Extension: File extension (e.g., .php).

  9. Save changes.