Added path resolution for subdomain