Wrong domain and endpoint

hello i have installed icinga2 via the doku. it all went well but now i realised i configured the wrong domain on my debian. i have a debian 12.5.0 . is there a way where i can change the domain so that my certificate works?

i want to use the director kickstart and thats when i noticed my domain ist wrong.

I also need to change my endpoint then right? i tried to just add an endpoint and change the zones.config but then my icinga backend just collapsed.

Can anyone pls help me. I’m so frustrated and don’t want to reinstall it all or do it again from zero.