Switching domain for a license key is fairly simple. Just follow the steps below:
1. Log in to My Account section and navigate to:
View License > Manage
2. You should find a list of the currently assigned domain/s there. Hit Deactivate Site.
3. Now you should be able to use the license on your new domain.