تغيير الخادم إلى إعداد مكون من حاويتين

Yes.

Whatever domain the staging server has? I don’t understand the question. A local (development) server is on localhost and has no domain.