C# – Setting Default URL in Web.Config for website

asp.netc++

When users navigate to my site, I want it to display :

http://example.com 

and not:

http://example.com/default.aspx

How can I do that?

Best Solution

This is done from within IIS:

You might also be able to do it by setting up some url mappings. Check here for more details.