we need to check when subdomain is present