# trusted domain - Troubleshooting Nextcloud

#### Troubleshooting

\- trusted domain  
\- go to: nextcloud/config and edit the config.php  
\- find: "trusted\_domains" and add the domain you want to trust

```
'trusted_domains' =>
  array (
    0 => 'box.danicus.net',
    1 => '192.168.1.1',    (put in yourown ip address)
```

\- \*\*Note:\*\* it's the domain you GO TO to access NextCloud...not where you're trying to access FROM.

#### Mobel app

Error message   
 "no HTTP connection allowed"  
Go to nextcloud config file, config.php and add   
`'overwriteprotocol' =&gt; 'https', `

---