usually I used a Raspberry Pi for nextcloud, but after facing some problems with the hardware I rented a vServer. And I also bought a domain.
So the problem I have is, that I it says that the domain is not trusted (it works with the public IP address). The domain is my last name, so f.e. smith.com. The installation is on smith.com/nextcloud and I also registered a subdomain with nextcloud.smith.com.
So I wrote the following in the config.php:
0 => ‘XXX.XXX.XXX.XXX’,
1 => ‘smith.com’
Is this correct? Why doesn’t it work?
Nextcloud version: 20.0.2
Operating system and version: Debian 10
PHP version 7.3
thx in advance