use hostname from parsed url