extract main domain