Added support for subdomain folder