This article will show you how to set \ change the External DNS name Of an existing Microsoft In Azure Virtual machine.
To start, Log In to Microsoft Azure -> Virtual Machine and Start the VM you want to change \ Set the DNS
Once started, On the VM screen click on Public IP / DNS name
Click on Configuration
Set the DNS name and Save the Virtual machine