moved domain name pattern to configuration file