Primary and Alternate domains

Removed ADMINDOMAIN configuration and replace with PRIMARY_DOMAIN and
ALTERNATE_DOMAINS