I am curious as to how companies such as Google App Engine, Weebly, ThinkTank allow clients to host their domains such as stackquestion.com to their application website such as stackquestion.stackapplication.com?
An Example with Weebly which uses A Records: http://www.weebly.com/support/index.php?pg=kb.page&id=4
Google App Engine uses CNAME Records.
Are there differences in the approach? Are there any limitations of using one over the other?
It is exactly like the question here: http://stackoverflow.com/questions/968173/how-do-i-allow-users-to-map-their-domains-to-a-url-on-my-site but would it be possible to outline what needs to be done from the application side (ASP.NET MVC) and the server side (IIS)?