Changing your domain name can affect SEO, but there are ways to minimize the impact on your rankings.