Added new method to extract the domain name of a given url