fixed subdomain lookup