Strip subdomains when guessing the domain for a given url