prepare all things to change domain