Access through untrusted domain when using my DNS

Hi all,

I’m back again… after getting a url from no-pi, now i’m getting the error below:

Access through untrusted domain

Please contact your administrator. If you are an administrator, edit the “trusted_domains” setting in config/config.php like the example in config.sample.php.

Further information how to configure this can be found in the documentation.

i tried to access /var/www/html/nextcloud/config/config.php but it’s giving me permission error.

Thanks in advance.

You must add the domain to the trusted domains in config/config.php

Read this.

You can also use occ . Read this.

1 Like

Thanks, I managed to resolve the issue by using sudo -i and accessing it with root.