Add public documents and subdomain configuration features to app.