---
title: "How to set startup page for a specific folder in Asp.Net?"  
description: "How to set startup page for a specific folder in Asp.Net?"  
author: "Anonymous User"  
published: 2014-08-21  
updated: 2014-08-21  
canonical: https://www.mindstick.com/forum/2067/how-to-set-startup-page-for-a-specific-folder-in-asp-dot-net  
category: "asp.net"  
tags: ["asp.net"]  
reading_time: 1 minute  

---

# How to set startup page for a specific folder in Asp.Net?

How to set [startup](https://www.mindstick.com/articles/167716/6-reasons-why-you-should-lawyer-up-your-startup) [page](https://www.mindstick.com/articles/13031/why-to-make-a-wikipedia-page) for a specific folder in [Asp.Net](https://www.mindstick.com/articles/934/default-folders-available-inside-the-asp-dot-net-application-folder)?

## Replies

### Reply by Sumit Kesarwani

Hi Ashish,

Firstyou have to add web.config file in folder and in your web.config add this rule

```
<defaultDocument enabled="true">   <files>             <clear/>       <add value="index.aspx"/>        </files></defaultDocument>  <modules runAllManagedModulesForAllRequests="true"/>
```


---

Original Source: https://www.mindstick.com/forum/2067/how-to-set-startup-page-for-a-specific-folder-in-asp-dot-net

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
