set empty config array, get domain_id from database