Add method to get domain for string url