extract  domain from url or domain