Bobcares

How to add MIME Type in IIS – Let’s do it!!

by | Jan 15, 2020

Wondering how to add the MIME type in IIS? We can help you do it.

The MIME type which uses to find how a particular file type is managed and it indicates the nature and format of a file.

At Bobcares, we often get requests from our customers to add MIME type in IIS as part of our Server Management Services.

Today, let’s get into the details on how our Support Engineers help the customers in adding the MIME type in IIS.

 

What is MIME Type?

MIME(Multipurpose Internet Mail Extensions) helps identify the type of data. It helps in identifying the nature and format of the document.

MIME format includes a MIME content type and subtype which denotes the type of data in the file.

This tool allows adding the custom MIME types to the site. Normally, the entered custom MIME type will override the default MIME type that exists on the server.

 

Steps to add MIME Type in IIS?

Recently one of the customers contacted us to add the MIME types in Windows. Let’s discuss how our Support Engineers do it.

1. Firstly we open IIS Manager.

2. In the Features View, we double click on MIME Types.

How to add MIME type in IIS

3. Then in the Actions pane, we click on Add.

4. After that in the Add MIME Type dialog box, we type a file name extension in the File name extension text box and a MIME type in the MIME type text box. Then we click Ok.

How to add MIME type in IIS

If a file extension is already registered as a MIME type, then we do not enter it again in File name extension.

5. After entering the values we click the OK button.

Thus, we add the MIME type in IIS. Sometimes customers receive the error HTTP Error 404.3 – Not Found. One of the reasons for this error is inappropriate MIME mapping. So we add the MIME type according to the above steps.

 

Adding MIME Type with web.config

We enable the MIME Types in windows by editing the web.config configuration file in the site’s home directory.

<configuration>
<system.webServer>
<staticContent>
<mimeMap fileExtension="  " mimeType="  " />
<mimeMap fileExtension="  " mimeType="  " />
</staticContent>
</system.webServer>
</configuration>

We provide a file name extension in the fileExtension and a MIME type in the mimeType. After adding the code in the web.config configuration file, we save the file.

 

[Need more assistance to add MIME type in IIS – We can help you with it.]

 

Conclusion

In short, we’ve discussed the details of Multipurpose Internet Mail Extensions in windows. Also, we have discussed how our Support Engineers add the MIME type in the IIS.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

_reb2bgeo - The visitor's geographical location

_reb2bloaded - Whether or not the script loaded for the visitor

_reb2bref - The referring URL for the visit

_reb2bsessionID - The visitor's RB2B session ID

_reb2buid - The visitor's RB2B user ID

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid
_reb2bgeo, _reb2bloaded, _reb2bref, _reb2bsessionID, _reb2buid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF