untrusted domain error

Hi everyone,

I’m completely new to networking and server setups. Installed Truenas on an old PC and installed the Nextcloud App.

When accessing the Nextcloud web portal, I encounter the error: “Access through untrusted domain.” After reading through other threads, I tried adding my server’s IP address to the trusted_domains section in the configuration. However, when I attempt to access Nextcloud, it redirects me to the TrueNAS login page at http://192.168.0.18/ui/sessions/signin.

I also tried including the port in trusted_domains (e.g., http://192.168.0.18:PORT), but then I get the same “Access through untrusted domain” error again.

Does anyone have any ideas on how to resolve this?

Screenshot 2024-12-20 203904
Screenshot 2024-12-20 204002

I would recommend you reach out to TrueNas community as there must be config a default redirect if the user access {ip of the device}… for a NAS I would expect to reach the admin interface. other applications I would expect to user specific extensions like https://{ip of device}/Nextcloud or maybe dedicated ip and domain.

In general I would recommend to use a public domain name to avoid hassles with TLS certificates etc…