As i said i added the public name to the trusted domains using the commands you mentioned.
It looks like:
'trusted_domains' =>
array (
0 => '192.168.1.9',
1 => 'pav-security.pav-server.lan',
2 => 'example.com',
3 => 'office.secondsexample.com',
),
The second example site is due to another public name.
It still does the same thing.