Preparing to switch domain