Facebook Twitter Instagram
    TecAdmin
    • Home
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    You are at:Home»Web Servers»IIS»How to Set Default Document in IIS

    How to Set Default Document in IIS

    By RahulMay 12, 20152 Mins Read

    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.

    Advertisement

    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.

    Default Document iis Index web-server
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp

    Related Posts

    Configure CORS in NGINX

    How to Enable CORS in Nginx

    Installing Apache Ubuntu 20.04

    How to Install and Secure Apache on Ubuntu 20.04

    Setup Let's Encrypt SSL in IIS on Windows

    How to Install Let’s Encrypt SSL with IIS on Windows Server 2019

    View 1 Comment

    1 Comment

    1. Essam on October 29, 2019 6:30 am

      what if my default page is located in sub folder?

      Reply

    Leave A Reply Cancel Reply

    Advertisement
    Recent Posts
    • 20 Basic Linux Commands for the Beginners (Recommended)
    • tail Command in Linux with Examples
    • What is a Orphan Process in Unix/Linux
    • How To Display Warning Message to Unauthorized SSH Access
    • How to Set a Custom SSH Login Banner and MOTD
    Facebook Twitter Instagram Pinterest
    © 2023 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.