Changing Only Office Domain

In installed NC with the Scripts from the Vm-Installation. Now i have to change the Domain of the OnlyOfficeServer. How can in realize this so that everything still is functional?

A reinstall of OnlyOffice using the new domainname did it.