If you are using assistive technology and are unable to read any part of the HostMonster website, or otherwise have difficulties using the HostMonster website, please call 866-573-HOST and our customer service team will assist you.
Skip to main content

HostMonster Web Hosting Help

Create Custom MIME Types

Summary

MIME types allow you to change how the browser handles files with specific extensions types. This may be useful if you want to change the default action a web browser performs when a file is accessed. This article will explain how to use mime types with HostMonster web servers.



Creating a MIME Type

To create a MIME Type you can login to your account and use the Mime Types tool availible in the cPanel.

  1. Log in to your HostMonster cPanel account.
  2. Go to the cPanel section.
  3. Under the Advanced click on the Mime Types icon.
  4. On the MIME Types page, under the heading Create A MIME Type enter the MIME type you want to use and the file extension associated with it.

Common MIME Types

This table shows some common file extensions and the MIME types associated with them.

File ExtensionMIME Type
.3dmx-world/x-3dmf
.3dmfx-world/x-3dmf
.aapplication/octet-stream
.aabapplication/x-authorware-bin
.aamapplication/x-authorware-map
.aasapplication/x-authorware-seg
.abctext/vnd.abc
.acgitext/html
.aflvideo/animaflex
.aiapplication/postscript
.aifaudio/aiff
.aifaudio/x-aiff
.aifcaudio/aiff
.aifcaudio/x-aiff
.aiffaudio/aiff
.aiffaudio/x-aiff
.aimapplication/x-aim
.aiptext/x-audiosoft-intra
.aniapplication/x-navi-animation
.aosapplication/x-nokia-9000-communicator-add-on-software
.apsapplication/mime
.arcapplication/octet-stream
.arjapplication/arj
.arjapplication/octet-stream
.artimage/x-jg
.asfvideo/x-ms-asf
.asmtext/x-asm
.asptext/asp
.asxapplication/x-mplayer2
.asxvideo/x-ms-asf
.asxvideo/x-ms-asf-plugin
.auaudio/basic
.auaudio/x-au
.aviapplication/x-troff-msvideo
.avivideo/avi
.avivideo/msvideo
.avivideo/x-msvideo
.avsvideo/avs-video
.bcpioapplication/x-bcpio
.binapplication/mac-binary
.binapplication/macbinary
.binapplication/octet-stream
.binapplication/x-binary
.binapplication/x-macbinary
.bmimage/bmp
.bmpimage/bmp
.bmpimage/x-windows-bmp
.booapplication/book
.bookapplication/book
.bozapplication/x-bzip2
.bshapplication/x-bsh
.bzapplication/x-bzip
.bz2application/x-bzip2
.ctext/plain
.ctext/x-c
.c++text/plain
.catapplication/vnd.ms-pki.seccat
.cctext/plain
.cctext/x-c
.ccadapplication/clariscad
.ccoapplication/x-cocoa
.cdfapplication/cdf
.cdfapplication/x-cdf
.cdfapplication/x-netcdf
.cerapplication/pkix-cert
.cerapplication/x-x509-ca-cert
.chaapplication/x-chat
.chatapplication/x-chat
.classapplication/java
.classapplication/java-byte-code
.classapplication/x-java-class
.comapplication/octet-stream
.comtext/plain
.conftext/plain
.cpioapplication/x-cpio
.cpptext/x-c
.cptapplication/mac-compactpro
.cptapplication/x-compactpro
.cptapplication/x-cpt
.crlapplication/pkcs-crl
.crlapplication/pkix-crl
.crtapplication/pkix-cert
.crtapplication/x-x509-ca-cert
.crtapplication/x-x509-user-cert
.cshapplication/x-csh
.cshtext/x-script.csh
.cssapplication/x-pointplus
.csstext/css
.cxxtext/plain
.dcrapplication/x-director
.deepvapplication/x-deepv
.deftext/plain
.derapplication/x-x509-ca-cert
.difvideo/x-dv
.dirapplication/x-director
.dlvideo/dl
.dlvideo/x-dl
.docapplication/msword
.dotapplication/msword
.dpapplication/commonground
.drwapplication/drafting
.dumpapplication/octet-stream
.dvvideo/x-dv
.dviapplication/x-dvi
.dwfdrawing/x-dwf (old)
.dwfmodel/vnd.dwf
.dwgapplication/acad
.dwgimage/vnd.dwg
.dwgimage/x-dwg
.dxfapplication/dxf
.dxfimage/vnd.dwg
.dxfimage/x-dwg
.dxrapplication/x-director
.eltext/x-script.elisp
.elcapplication/x-bytecode.elisp (compiled elisp)
.elcapplication/x-elc
.envapplication/x-envoy
.epsapplication/postscript
.esapplication/x-esrehber
.etxtext/x-setext
.evyapplication/envoy
.evyapplication/x-envoy
.exeapplication/octet-stream
.ftext/plain
.ftext/x-fortran
.f77text/x-fortran
.f90text/plain
.f90text/x-fortran
.fdfapplication/vnd.fdf
.fifapplication/fractals
.fifimage/fif
.flivideo/fli
.flivideo/x-fli
.floimage/florian
.flxtext/vnd.fmi.flexstor
.fmfvideo/x-atomic3d-feature
.fortext/plain
.fortext/x-fortran
.fpximage/vnd.fpx
.fpximage/vnd.net-fpx
.frlapplication/freeloader
.funkaudio/make
.gtext/plain
.g3image/g3fax
.gifimage/gif
.glvideo/gl
.glvideo/x-gl
.gsdaudio/x-gsm
.gsmaudio/x-gsm
.gspapplication/x-gsp
.gssapplication/x-gss
.gtarapplication/x-gtar
.gzapplication/x-compressed
.gzapplication/x-gzip
.gzipapplication/x-gzip
.gzipmultipart/x-gzip
.htext/plain
.htext/x-h
.hdfapplication/x-hdf
.helpapplication/x-helpfile
.hglapplication/vnd.hp-hpgl
.hhtext/plain
.hhtext/x-h
.hlbtext/x-script
.hlpapplication/hlp
.hlpapplication/x-helpfile
.hlpapplication/x-winhelp
.hpgapplication/vnd.hp-hpgl
.hpglapplication/vnd.hp-hpgl
.hqxapplication/binhex
.hqxapplication/binhex4
.hqxapplication/mac-binhex
.hqxapplication/mac-binhex40
.hqxapplication/x-binhex40
.hqxapplication/x-mac-binhex40
.htaapplication/hta
.htctext/x-component
.htmtext/html
.htmltext/html
.htmlstext/html
.htttext/webviewhtml
.htxtext/html
.icex-conference/x-cooltalk
.icoimage/x-icon
.idctext/plain
.iefimage/ief
.iefsimage/ief
.igesapplication/iges
.igesmodel/iges
.igsapplication/iges
.igsmodel/iges
.imaapplication/x-ima
.imapapplication/x-httpd-imap
.infapplication/inf
.insapplication/x-internett-signup
.ipapplication/x-ip2
.isuvideo/x-isvideo
.itaudio/it
.ivapplication/x-inventor
.ivri-world/i-vrml
.ivyapplication/x-livescreen
.jamaudio/x-jam
.javtext/plain
.javtext/x-java-source
.javatext/plain
.javatext/x-java-source
.jcmapplication/x-java-commerce
.jfifimage/jpeg
.jfifimage/pjpeg
.jfif-tbnlimage/jpeg
.jpeimage/jpeg
.jpeimage/pjpeg
.jpegimage/jpeg
.jpegimage/pjpeg
.jpgimage/jpeg
.jpgimage/pjpeg
.jpsimage/x-jps
.jsapplication/x-javascript
.jutimage/jutvision
.karaudio/midi
.karmusic/x-karaoke
.kshapplication/x-ksh
.kshtext/x-script.ksh
.laaudio/nspaudio
.laaudio/x-nspaudio
.lamaudio/x-liveaudio
.latexapplication/x-latex
.lhaapplication/lha
.lhaapplication/octet-stream
.lhaapplication/x-lha
.lhxapplication/octet-stream
.listtext/plain
.lmaaudio/nspaudio
.lmaaudio/x-nspaudio
.logtext/plain
.lspapplication/x-lisp
.lsptext/x-script.lisp
.lsttext/plain
.lsxtext/x-la-asf
.ltxapplication/x-latex
.lzhapplication/octet-stream
.lzhapplication/x-lzh
.lzxapplication/lzx
.lzxapplication/octet-stream
.lzxapplication/x-lzx
.mtext/plain
.mtext/x-m
.m1vvideo/mpeg
.m2aaudio/mpeg
.m2vvideo/mpeg
.m3uaudio/x-mpequrl
.manapplication/x-troff-man
.mapapplication/x-navimap
.martext/plain
.mbdapplication/mbedlet
.mc$application/x-magic-cap-package-1.0
.mcdapplication/mcad
.mcdapplication/x-mathcad
.mcfimage/vasa
.mcftext/mcf
.mcpapplication/netmc
.meapplication/x-troff-me
.mhtmessage/rfc822
.mhtmlmessage/rfc822
.midapplication/x-midi
.midaudio/midi
.midaudio/x-mid
.midaudio/x-midi
.midmusic/crescendo
.midx-music/x-midi
.midiapplication/x-midi
.midiaudio/midi
.midiaudio/x-mid
.midiaudio/x-midi
.midimusic/crescendo
.midix-music/x-midi
.mifapplication/x-frame
.mifapplication/x-mif
.mimemessage/rfc822
.mimewww/mime
.mjfaudio/x-vnd.audioexplosion.mjuicemediafile
.mjpgvideo/x-motion-jpeg
.mmapplication/base64
.mmapplication/x-meme
.mmeapplication/base64
.modaudio/mod
.modaudio/x-mod
.moovvideo/quicktime
.movvideo/quicktime
.movievideo/x-sgi-movie
.mp2audio/mpeg
.mp2audio/x-mpeg
.mp2video/mpeg
.mp2video/x-mpeg
.mp2video/x-mpeq2a
.mp3audio/mpeg3
.mp3audio/x-mpeg-3
.mp3video/mpeg
.mp3video/x-mpeg
.mpaaudio/mpeg
.mpavideo/mpeg
.mpcapplication/x-project
.mpevideo/mpeg
.mpegvideo/mpeg
.mpgaudio/mpeg
.mpgvideo/mpeg
.mpgaaudio/mpeg
.mppapplication/vnd.ms-project
.mptapplication/x-project
.mpvapplication/x-project
.mpxapplication/x-project
.mrcapplication/marc
.msapplication/x-troff-ms
.mvvideo/x-sgi-movie
.myaudio/make
.mzzapplication/x-vnd.audioexplosion.mzz
.napimage/naplps
.naplpsimage/naplps
.ncapplication/x-netcdf
.ncmapplication/vnd.nokia.configuration-message
.nifimage/x-niff
.niffimage/x-niff
.nixapplication/x-mix-transfer
.nscapplication/x-conference
.nvdapplication/x-navidoc
.oapplication/octet-stream
.odaapplication/oda
.omcapplication/x-omc
.omcdapplication/x-omcdatamaker
.omcrapplication/x-omcregerator
.ptext/x-pascal
.p10application/pkcs10
.p10application/x-pkcs10
.p12application/pkcs-12
.p12application/x-pkcs12
.p7aapplication/x-pkcs7-signature
.p7capplication/pkcs7-mime
.p7capplication/x-pkcs7-mime
.p7mapplication/pkcs7-mime
.p7mapplication/x-pkcs7-mime
.p7rapplication/x-pkcs7-certreqresp
.p7sapplication/pkcs7-signature
.partapplication/pro_eng
.pastext/pascal
.pbmimage/x-portable-bitmap
.pclapplication/vnd.hp-pcl
.pclapplication/x-pcl
.pctimage/x-pict
.pcximage/x-pcx
.pdbchemical/x-pdb
.pdfapplication/pdf
.pfunkaudio/make
.pfunkaudio/make.my.funk
.pgmimage/x-portable-graymap
.pgmimage/x-portable-greymap
.picimage/pict
.pictimage/pict
.pkgapplication/x-newton-compatible-pkg
.pkoapplication/vnd.ms-pki.pko
.pltext/plain
.pltext/x-script.perl
.plxapplication/x-pixclscript
.pmimage/x-xpixmap
.pmtext/x-script.perl-module
.pm4application/x-pagemaker
.pm5application/x-pagemaker
.pngimage/png
.pnmapplication/x-portable-anymap
.pnmimage/x-portable-anymap
.potapplication/mspowerpoint
.potapplication/vnd.ms-powerpoint
.povmodel/x-pov
.ppaapplication/vnd.ms-powerpoint
.ppmimage/x-portable-pixmap
.ppsapplication/mspowerpoint
.ppsapplication/vnd.ms-powerpoint
.pptapplication/mspowerpoint
.pptapplication/powerpoint
.pptapplication/vnd.ms-powerpoint
.pptapplication/x-mspowerpoint
.ppzapplication/mspowerpoint
.preapplication/x-freelance
.prtapplication/pro_eng
.psapplication/postscript
.psdapplication/octet-stream
.pvupaleovu/x-pv
.pwzapplication/vnd.ms-powerpoint
.pytext/x-script.pyton
.pycapplicaiton/x-bytecode.python
.qcpaudio/vnd.qcelp
.qd3x-world/x-3dmf
.qd3dx-world/x-3dmf
.qifimage/x-quicktime
.qtvideo/quicktime
.qtcvideo/x-qtc
.qtiimage/x-quicktime
.qtifimage/x-quicktime
.raaudio/x-pn-realaudio
.raaudio/x-pn-realaudio-plugin
.raaudio/x-realaudio
.ramaudio/x-pn-realaudio
.rasapplication/x-cmu-raster
.rasimage/cmu-raster
.rasimage/x-cmu-raster
.rastimage/cmu-raster
.rexxtext/x-script.rexx
.rfimage/vnd.rn-realflash
.rgbimage/x-rgb
.rmapplication/vnd.rn-realmedia
.rmaudio/x-pn-realaudio
.rmiaudio/mid
.rmmaudio/x-pn-realaudio
.rmpaudio/x-pn-realaudio
.rmpaudio/x-pn-realaudio-plugin
.rngapplication/ringing-tones
.rngapplication/vnd.nokia.ringing-tone
.rnxapplication/vnd.rn-realplayer
.roffapplication/x-troff
.rpimage/vnd.rn-realpix
.rpmaudio/x-pn-realaudio-plugin
.rttext/richtext
.rttext/vnd.rn-realtext
.rtfapplication/rtf
.rtfapplication/x-rtf
.rtftext/richtext
.rtxapplication/rtf
.rtxtext/richtext
.rvvideo/vnd.rn-realvideo
.stext/x-asm
.s3maudio/s3m
.savemeapplication/octet-stream
.sbkapplication/x-tbook
.scmapplication/x-lotusscreencam
.scmtext/x-script.guile
.scmtext/x-script.scheme
.scmvideo/x-scm
.sdmltext/plain
.sdpapplication/sdp
.sdpapplication/x-sdp
.sdrapplication/sounder
.seaapplication/sea
.seaapplication/x-sea
.setapplication/set
.sgmtext/sgml
.sgmtext/x-sgml
.sgmltext/sgml
.sgmltext/x-sgml
.shapplication/x-bsh
.shapplication/x-sh
.shapplication/x-shar
.shtext/x-script.sh
.sharapplication/x-bsh
.sharapplication/x-shar
.shtmltext/html
.shtmltext/x-server-parsed-html
.sidaudio/x-psid
.sitapplication/x-sit
.sitapplication/x-stuffit
.skdapplication/x-koan
.skmapplication/x-koan
.skpapplication/x-koan
.sktapplication/x-koan
.slapplication/x-seelogo
.smiapplication/smil
.smilapplication/smil
.sndaudio/basic
.sndaudio/x-adpcm
.solapplication/solids
.spcapplication/x-pkcs7-certificates
.spctext/x-speech
.splapplication/futuresplash
.sprapplication/x-sprite
.spriteapplication/x-sprite
.srcapplication/x-wais-source
.ssitext/x-server-parsed-html
.ssmapplication/streamingmedia
.sstapplication/vnd.ms-pki.certstore
.stepapplication/step
.stlapplication/sla
.stlapplication/vnd.ms-pki.stl
.stlapplication/x-navistyle
.stpapplication/step
.sv4cpioapplication/x-sv4cpio
.sv4crcapplication/x-sv4crc
.svfimage/vnd.dwg
.svfimage/x-dwg
.svrapplication/x-world
.svrx-world/x-svr
.swfapplication/x-shockwave-flash
.tapplication/x-troff
.talktext/x-speech
.tarapplication/x-tar
.tbkapplication/toolbook
.tbkapplication/x-tbook
.tclapplication/x-tcl
.tcltext/x-script.tcl
.tcshtext/x-script.tcsh
.texapplication/x-tex
.texiapplication/x-texinfo
.texinfoapplication/x-texinfo
.textapplication/plain
.texttext/plain
.tgzapplication/gnutar
.tgzapplication/x-compressed
.tifimage/tiff
.tifimage/x-tiff
.tiffimage/tiff
.tiffimage/x-tiff
.trapplication/x-troff
.tsiaudio/tsp-audio
.tspapplication/dsptype
.tspaudio/tsplayer
.tsvtext/tab-separated-values
.turbotimage/florian
.txttext/plain
.uiltext/x-uil
.unitext/uri-list
.unistext/uri-list
.unvapplication/i-deas
.uritext/uri-list
.uristext/uri-list
.ustarapplication/x-ustar
.ustarmultipart/x-ustar
.uuapplication/octet-stream
.uutext/x-uuencode
.uuetext/x-uuencode
.vcdapplication/x-cdlink
.vcstext/x-vcalendar
.vdaapplication/vda
.vdovideo/vdo
.vewapplication/groupwise
.vivvideo/vivo
.vivvideo/vnd.vivo
.vivovideo/vivo
.vivovideo/vnd.vivo
.vmdapplication/vocaltec-media-desc
.vmfapplication/vocaltec-media-file
.vocaudio/voc
.vocaudio/x-voc
.vosvideo/vosaic
.voxaudio/voxware
.vqeaudio/x-twinvq-plugin
.vqfaudio/x-twinvq
.vqlaudio/x-twinvq-plugin
.vrmlapplication/x-vrml
.vrmlmodel/vrml
.vrmlx-world/x-vrml
.vrtx-world/x-vrt
.vsdapplication/x-visio
.vstapplication/x-visio
.vswapplication/x-visio
.w60application/wordperfect6.0
.w61application/wordperfect6.1
.w6wapplication/msword
.wavaudio/wav
.wavaudio/x-wav
.wb1application/x-qpro
.wbmpimage/vnd.wap.wbmp
.webapplication/vnd.xara
.wizapplication/msword
.wk1application/x-123
.wmfwindows/metafile
.wmltext/vnd.wap.wml
.wmlcapplication/vnd.wap.wmlc
.wmlstext/vnd.wap.wmlscript
.wmlscapplication/vnd.wap.wmlscriptc
.wordapplication/msword
.wpapplication/wordperfect
.wp5application/wordperfect
.wp5application/wordperfect6.0
.wp6application/wordperfect
.wpdapplication/wordperfect
.wpdapplication/x-wpwin
.wq1application/x-lotus
.wriapplication/mswrite
.wriapplication/x-wri
.wrlapplication/x-world
.wrlmodel/vrml
.wrlx-world/x-vrml
.wrzmodel/vrml
.wrzx-world/x-vrml
.wsctext/scriplet
.wsrcapplication/x-wais-source
.wtkapplication/x-wintalk
.xbmimage/x-xbitmap
.xbmimage/x-xbm
.xbmimage/xbm
.xdrvideo/x-amt-demorun
.xgzxgl/drawing
.xifimage/vnd.xiff
.xlapplication/excel
.xlaapplication/excel
.xlaapplication/x-excel
.xlaapplication/x-msexcel
.xlbapplication/excel
.xlbapplication/vnd.ms-excel
.xlbapplication/x-excel
.xlcapplication/excel
.xlcapplication/vnd.ms-excel
.xlcapplication/x-excel
.xldapplication/excel
.xldapplication/x-excel
.xlkapplication/excel
.xlkapplication/x-excel
.xllapplication/excel
.xllapplication/vnd.ms-excel
.xllapplication/x-excel
.xlmapplication/excel
.xlmapplication/vnd.ms-excel
.xlmapplication/x-excel
.xlsapplication/excel
.xlsapplication/vnd.ms-excel
.xlsapplication/x-excel
.xlsapplication/x-msexcel
.xltapplication/excel
.xltapplication/x-excel
.xlvapplication/excel
.xlvapplication/x-excel
.xlwapplication/excel
.xlwapplication/vnd.ms-excel
.xlwapplication/x-excel
.xlwapplication/x-msexcel
.xmaudio/xm
.xmlapplication/xml
.xmltext/xml
.xmzxgl/movie
.xpixapplication/x-vnd.ls-xpix
.xpmimage/x-xpixmap
.xpmimage/xpm
.x-pngimage/png
.xsrvideo/x-amt-showrun
.xwdimage/x-xwd
.xwdimage/x-xwindowdump
.xyzchemical/x-pdb
.zapplication/x-compress
.zapplication/x-compressed
.zipapplication/x-compressed
.zipapplication/x-zip-compressed
.zipapplication/zip
.zipmultipart/x-zip
.zooapplication/octet-stream
.zshtext/x-script.zsh
Knowledgebase Article 46,555 views bookmark tags: create custom extensions files mime types


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

How to setup and use Custom Name Servers with your Domain name
Video "How-to" Tutorial 218,486 views tags: cpanelutilities custom

Why can I not send/receive certain types of attachment?
Knowledgebase Article 97,188 views tags: attachment block blocked email malware trojan virus

How to Create a Custom Menu in WordPress
Knowledgebase Article 24,722 views tags:

Related Help Content

There are many ways that you can transfer files and folder to and from your hosting account. We highly recommend using an FTP (File Transfer Protocol) program to quickly upload and download files. We
Getting Started Article 230,860 views tags: file files filezilla manager setup

This article will walk you through creating, removing, and editing files with the file manager.
Knowledgebase Article 147,482 views tags: cpanel filemanager

Do you accept payment other than credit cards or Paypal?
Knowledgebase Article 249,987 views tags: accept check credit money order pay payment types

Strong passwords: How to create and use them.
Knowledgebase Article 358,475 views tags: create increase measure meter pass password strength strong

How to setup name servers for multiple cPanel accounts.
Knowledgebase Article 140,855 views tags: accounts custom dedicated multi multiple nameservers server servers

This article will explain how to run php and other file types using Cron jobs.
Knowledgebase Article 402,556 views tags: cron file jobs php

WordPress Error: Unable to create directory /wp-content/uploads/2009/mydir/summer/ Is its parent directory writable by the server?
Knowledgebase Article 99,807 views tags: create unable wordpress

This article will explain why you see "Your WordPress site appears to be infected with malware. Please update to remedy this problem."
Knowledgebase Article 111,071 views tags: malware wordpress wordpresstools

This site utilizes JavaScript to function correctly. Looks like it's disabled on your browser. Please enable it for your best experience.

For instructions on enabling JavaScript, click here