config domain and other settings