Parse the registered domain name from a URL.