fixing config to ignore www and local in domain check