How to Set Default Document in web.config

Setting Default document in ISS Server using web.config

IIS7 includes an all-new distributed configuration option, which allows for IIS7 configuration to be stored in web.config files, along with configuration, will be deployed with your content. This will makes your development box into your hosted server as easy as file copy.
In this post. To add or change a default document for your Web site.
Follow the below procedures:
In this case I'm adding index.php as a default document / file .

1. create a web.config file in your application directory
2. edit it as follows:

<add value="index.php" />

IIS7 monitors web directories for the web.config file, and will notice any time a file with this name is created or changed. It reads the configuration in the file and merges at that time IIS will make index.php as default document.

Related Topic How to Set Default Document in IIs7
How to remove Default document in IIS
List of Server Ports and their Assigned Numbers
PHP Programming Best Practices
How to Enabling X11 Forwarding for SSH by Default
Web Server  IIS  ASP 2011   Privacy Policy  Terms of Service  Feedback