Challenge: Sub Domain + Forwarding

I have something wrong with my Nextloud settings, probably in the VHost Config. Because if I now create a new subdomain on my server for another service (for example Rocketchat) and register that subdomain on the other service I still get to the nextcloud page which tells me: “Access via an untrusted domain”.

What is the reason for this? Does anyone have any other ideas? I’m getting desperate :smiley:

Nextcloud version : 24.0.1
Operating system and version : Ubuntu 20.04.4 LTS
Apache or nginx version : Apache/2.4.41 (Ubuntu)
PHP version: PHP 8.0.19 (cli)

Normally if you put Nextcloud and your other subdomain in different vHost configurations, there shouldn’t be a problem. Can you share your configuration?