I would like to figure out how to do this, too. I know how to do it in IIS, I just don't know how to do it in DNN. It would have to be done in both places. Inventua's HrefExchanger module is great for this, however, at the present moment it doesn't have the capability to change the file extension without also invoking its own friendly URL feature. I just asked them to separate those features because the module is a great, easy way to change the .aspx file extension but there are some issues with the friendly URL's (namely some modules, such as cataLook, can't currently handle them plus if you change the page title in the future you must specify the old page in your URL rewriting rules or old bookmarks break). I made the request on Inventua's forum, here:
http://www.inventua.com/forums.content?forumid=1&postid=498&view=topic
If you are still interested in this capability, please log onto the Inventua forum and encourage them as well, I've found that they are very responsive when enough users request a good enhancement.
I plan not to investigate how to do this myself with DNN much further at this time, first I want to gauge the response from Inventua. If they will make this enhancement quickly, I'd rather wait for them to do so. To address the other questions on this thread about why somebody would want to change the file extension, here are my reasons:
1. Brand recognition. I want to change the file extension to my company's acronym to build identity and brand recognition.
2. Credibility. I think many users and potential customers will have the perception that my company has greater credibility because of the custom file extension.
3. Security. I believe that obscuring the technology one is using with web applications is one of the easiest ways to enhance security. There's generally no easier way for somebody to determine what platform you are running on than by observing the file extension of your web app pages. If it weren't for my other reasons, if security were my only concern I'd probably change the extension to .php or .cfm.
4. Search engine ranking. I don't know how much positive impact this will have on search engine rankings, in most cases probably not much, but my file extension contains a string that is common to my target search strings. I think it is possible that with some engines, using an unrecognized file extension could actually compromise my rankings. I've done some research on it and didn't find anything conclusive, I'd very much like to know if anybody has insight into that question.