Change default SharePoint web page

sharepoint

I have an app running on top of sharepoint.

Can I change, through configuration, the default web page for a Sharepoint site to a sub-site page? I tried changing it in IIS but it simply doesn't work: The current default page isn't mapped there, anyway.

I would like to change it from "http://server/default.aspx" to, say, "http://server/test/default.aspx".

Edit: I am using SharePoint 2007

Best Answer

Editing the web.config file with these lines (under system.web):

<urlMappings enabled="true"> 
     <add url="~/" mappedUrl="/test/default.aspx"/> 
</urlMappings>

did the trick.