Reputation: 26993
I want to display index.aspx instead of default.aspx in the root of folders in my ASP.NET app but can't figure out where to set this.
Upvotes: 2
Views: 637
Reputation: 13995
In IIS Manager, right-click the web site and choose properties, click the 'Documents' tab, and add index.aspx to the list.
Upvotes: 0
Reputation: 16033
Here is how to do it in IIS 6 http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/dc6eb1b4-9028-4308-9935-52b64edfad36.mspx?mfr=true
Upvotes: 1
Reputation: 351566
This is a change that you need to make in IIS. Please see Setting Up Default Documents for how to do this:
You can establish a default document for client requests to a Web site that does not specify a document name. Default documents can be a directory's home page or an index page.
Upvotes: 4