move domain to config