I will migrate my website from server A to server B.
During the DNS propagation, the users arriving on server A will be 302 redirected (rewrite rule in Apache) to a temporary alias on server B.
Example: A (http://www.mywebsite.com) -> B (http://mywebsite.com.myhoster.com)
When their DNS is updated, they will go to server B (www.mywebsite.com).
After a few days, we will stop server A and remove the alias on server B.
Is it a good practice (SEO and technically)? Or do you have an other idee?
Note: The TTL of the DNS record has been set to 300 to speed the DNS switch.