Currently it is allowed to change the edge licence file and to re-run the postinstaller, unfortunately it is not possible to change the edge domain name (its also stated int he documentaion). This is an issue for customer SMC who has configured his Edge with a test licnece and now wants to start but needs to re-configure everything again as domain name of test edge can not be changed.
This feature will be available in Cumulocity IoT Edge 10.11