NS8 nethsecurity_controller FQDN

I need help to understand the requirements of the FQDN in the settings of the nethsecurity_controller. Nethsecurity and NS8 are both Proxmox VMs. Nethsecurity has 2 nics, one for the internal and on for the external net connected to the Frtzbox router.
I installed two NS8 VMs with different functions. Both belong to the internal net.
NS8 no. 1 works as LDAP server and main Node 1 with the FQDN ns.xxx.local.
In the /etc/hosts file it says 127.0.1.1 ns.xxx.local. If I change this to 192.168.x.y ns.xxx.local, it is always rewritten to 127.0.1.1.
When I try to open nethsecurity_controller1 in the GUI I get “ns.xxx.local not found”.

What is my mistake? What do I need to change? All help welcome.

Do not edit the hosts file, but use a real DNS server.
Even the NethSecurity is a good a fit if your client uses DHCP for the configuration.

Let’s do an example:

The same hostname must be resolvable also from the NethServer node itself.

What is the controller? Is it the nethsecurity VM or the NS8-VM?

Thanks for an explanation!

It’s the NethServer VM where NethSecurity Controller applications is running: NethSecurity Controller | NethServer 8 documentation

The FQDN of the Nethserver VM is ‘ns.xxx.local’. If I set this as Controller FQDN and try to open the Conroller, I get ‘forbidden’.