Yes that method is useful for testing the website with it's own URL on a new server before changing the live IP over
mastershammer but I'm wondering if there are other ways when migrating WordPress from CyberPanel or my own hosting to Enhance.
The migration process itself has been well documented already in this thread inspiredearth but if you are looking for more ways to test a website on a new server before switching the IP over then you can also use an Alias and then hard code the alias in the wp-config.php file with these 2 lines:
define('WP_HOME','https://www.domain.co.uk/');
define('WP_SITEURL','https://www.domain.co.uk/');
Where www.domain.co.uk has been added as an Alias against your website in Enhance.
Don't forget to remove the lines before you go live though!