Add different trust domains

Hello,
i do have a subdomain.domain.topleveldomain added in my cloud, which is working. But now id like to add additional a few total different domains with different endings. I tried it but i just encouraged internal server errors.

This is what I wrote:
array (
0 => ‘subdomain.domain.ending’
1 => ‘subdomain.domain.ending’,
),

I know that this is wrong but i don’t know how to do it the right way.

you forgot an ending comma on the line starting with 0

2 Likes

And you use the wrong ` you have to make it like this:

array (
0 => 'subdomain.domain.ending',
1 => 'subdomain.domain.ending',
),
1 Like

Thank you very much, it is working

Got it, it is working. Thank you

I have fought this and fought this and I can’t get it to work. Below is a what mine looks like. I save and reboot, but I’m still unable to log into the webpage.
array (
0 => ‘localhost’,
1 => ‘xxxx.ddns.net’,
2 => ‘192.168.1.0’,
3 => ‘192.168.1.1’,
4 => ‘192.168.1.20’,
),

You use the wrong `

array (
0 =>'localhost',
1 => 'xxxx.ddns.net',
2 => '192.168.1.0',
3 => '192.168.1.1',
4 => '192.168.1.20',
 ),

can i make all domains trusted outside my network so i can acess nextcloud of my cellular data?