The primary-domain is a fundamental part of the configuration within the control panel. It is closely related to file structures, databases, configuration settings, and other resources.
Changing the primary-domain in the control panel would require extensive and complex configuration restructuring that could potentially lead to disruption, data loss, and other technical challenges.
Therefore, it is not possible to change the name of the main domain.