This must have been discussed number of times.. but honestly i did so much googling around but it is impossible find a proper answer.
First i built an app using appe
The details on how to set it up is here
http://code.google.com/appengine/articles/domains.html
If you want it to map to www. then put 'www' where they have 'my-app-id' in the last image.