topic check if subdomain is defined