move domain setting to yml