If you are using the all in one wordpress migration tool and want to change the URL of the site you’re migrating to.
When you click to export you must the find and replace setting below.
For example if you want to change your websites URL from example.com to example2.com then you would do so like the screenshot below.
If you want to migrate from a subdomain to a normal domain. For example test.example.com to whatever.com. You would do so like the example image below.