Extracting subdomain successfully