Click here to Skip to main content
15,894,362 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
hi
how to get the default.aspx as the home page when i am ping as www.test.com in web broeser
i have tried so many ways but aim not getting the result please help me .
thanq you..
Posted

On the hosting server in IIS, you have an option to add the default document, Please refer the below link:

http://technet.microsoft.com/en-us/library/cc771439%28v=ws.10%29.aspx[^]
 
Share this answer
 
 
Share this answer
 
If you want to set default start up page at the development time then right click on desired page and click on Set as Startup Page.

If you have hosted your application on IIS and want to set it as start up please refer following page
http://forums.asp.net/t/1366144.aspx?How+to+set+up+Default+Page+in+IIS+[^]
 
Share this answer
 
if on iis follow this

we can do in IIS settings for that virtual directory:
in IIS
right click on virtual directory--->Properties----->click on document Tab----Add your page for default by click on Add button---> move it to top of list.

this will make your page default


or

http://stackoverflow.com/questions/1913058/set-default-page-in-asp-net[^]
 
Share this answer
 
Go to the project's properties page, select the "Web" tab and on top (in the "Start Action" section), enter the page name in the "Specific Page" box.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900