If you are using IIS7, 7.5 or 8 you can just change the default document settings in the web.config file.
Just find the <system.webServer> section and add the following (or replace the defaultDocument section with this). This will only work if the user comes to the website without a page path in the url (i.e. Default.aspx)
Just find the <system.webServer> section and add the following (or replace the defaultDocument section with this). This will only work if the user comes to the website without a page path in the url (i.e. Default.aspx)
<defaultDocument enabled="true">
<files>
<clear />
<add value="Account/Login.aspx" />
</files>
</defaultDocument>