I have written my web.config file as follows
<authentication mode="Forms">
<forms loginUrl="Index.aspx" defaultUrl="Login.aspx" timeout="20"/>
</authentication>
Which works good locally but when i am going to live i am unable to see the Index.aspx as my default page. Instead of this i am able to see Default.aspx i have. What’s the problem behingdthis
To answer your question, and going on your comment.
Your users are going to
Default.aspxbecause in your IIS settings,Default.aspxwill be set as the default document. You want to specifyIndex.aspxinstead.The authenitcation settings only take effect when you are disallowing access to certain areas of your website using Location Authorisation