On Windows IIS, rather than using the .htaccess file like in Linux to define the DirectoryIndex, there is the option to use a web.config file in the web directory of an account.
The entry would be the following:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<handlers accessPolicy="Read, Execute, Script" />
<defaultDocument>
<files>
<clear />
<add value="index.aspx" />
</files>
</defaultDocument>
</system.webServer>
</configuration>
This would make index.aspx the main index page for that site. If you were using php, since php pages aren't included in the files being looked for by the index page hierarchy, you can make an index.php file the defaultDocument using the above method.
Here is the order of the standard index hierarchy on Windows:
Code:
default.asp
default.htm
index.htm
index.html
index.asp
default.aspx
index.aspx