i have default.aspx and index.html. I uploaded both to the server, but i want my first page start with index.html. What should I do?
+3
A:
You need to configure it in the properties of the virtual directory hosting the ASP.NET application. Put index.html
before default.aspx
Darin Dimitrov
2010-01-06 09:53:36
+2
A:
You need to change the order of default document list to bring index.htm to the top, on IIS6 this found on the Documents tab of Properties dialog on the site in IIS manager.
AnthonyWJones
2010-01-06 09:54:06
+1
A:
You need to set this up in IIS. In the IIS manager, this will be under the Documents
tab.
Oded
2010-01-06 09:54:23
A:
in your default.aspx page write this in your code behind if you don't have access to IIS.
Response.Redirect("index.htm");
this. __curious_geek
2010-01-06 09:55:16
+2
A:
If you do not have access to IIS, and you are hosted on IIS 7 (Windows Server 2008), you may want to put this into your web.config
file:
<system.webServer>
<defaultDocument>
<files>
<clear / >
<add value="index.html" />
</files>
</defaultDocument>
</system.webServer>
Daniel Vassallo
2010-01-06 09:56:17