add support for webapp on subdomain