Skip to content

How to Set Default Document in IIS

How to Set Default Document in IIS Web Server on Windows systems. Set the default document in IIS to serve to users when no filename specified by user.

Category
Web Servers
Covers
IIS
On this page

The default document is the file which is served by web server when no file name is specified by user in web url. By default most of web servers uses index.html, index.htm, default.html, default.htm, default.aspx, etc file names as default document if no default document is specified for the website.

This article will help you to set default document in IIS for any website configured. To do it follow the below step by step instruction’s:

1. Start IIS

Go to run window and type “inetmgr” and hit enter to open IIS web server in your windows system.

start-iis-on-windows

2. Select Default Document Option

Now go under sites option in left side bar and select your site. Now click on “Default Document” option as per showing in below screenshot.

2015-04-25_0908_001

3. Enter Default Page Name

  • Now you will show a list of pages which is globally set as default document for your website.
  • Now click on Add button in right sidebar.
  • It will show a pop-up. Enter your filename to set as default document and click OK.

2015-04-25_0909

4. Set Top in Priority Order

No Select your new filename entered and put it at top of priority order by using “Move Up” button in actions side bar.

2015-04-25_0909_001

Now your default document has been correctly configured for your website in IIS web server.

Rahul

Rahul Kumar is the founder and chief editor of TecAdmin.net. A Red Hat Certified Engineer (RHCE), he has worked in IT since 2009, with hands-on experience in Linux system administration, DevOps, web hosting, cloud platforms and automation. He started TecAdmin in 2013 to share practical, step-by-step guides, and leads its editorial work with one aim: making technical learning clear and useful for sysadmins, developers and beginners alike.

1 Comment

Leave a Reply

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


Back to top