I m building a web app that s a little similar to Tumblr in that we d run everything through one domain, but we d actually have sites with other domain names running off the same app.
That is:
Platform (platform.dev)
|
|_app1 (app1.dev)
|_app2 (app2.dev)
d 共用同一个网络服务器、数据库服务器、 au服务器。
To keep things simple, how would I set up custom domains? On top of that, how would I handle authentication?