Hi Pals,
I want to know about that how IIS Server comes to know about
the starting page of any application built in C# or Vb.NET.
Though in IDE, we are doing this by right clicking the selected web
page from application & choosing the "Set As Start Page".
But how IIS Server comes to know about it? I will appreciate if
any one help me in this...
Regards
Unni
1. in IIS look at the "properties" of the directory for which you want to see the start up page.
2. once the dialog box opens I am pretty sure you select the "documents" tab...if not just click through the tabs until the next step makes sense.
3. You should see a list of possible start pages i.e...
index.asp
default.asp
default.htm....you get the picture
anyway,...
this is where you can set what page you want as your "default" start page.
for example:
if you wanted your default.aspx page to be the home page of your site...
you would put it at the top of the list or make it the only possible option for your start page...
also by doing this you can make links back to your home page look like this...
<a href="./">Home</a>
or with a query string
<a href="./?action=start">Home</a>
instead of...
<a href="default.aspx>Home</a>
or with a query string
<a href="defautl.aspx?action=start">Home</a>
Also, if you set a specific "Start Page" for your "root" directory in IIS, every time you make a NEW directory, IIS should apply the same settings.
hope this helps. let me know if it doesn't
cheers!