get the domain from an url