Hey guys I freshly created a sub-domain like cloud.mydomain.com
and changed my nextcloud config.php
<?php
$CONFIG = array (
'trusted_domains' =>
array (
0 => 'cloud.mydomain.com',
),
'datadirectory' => '/var/www/html/nextcloud/data',
'overwrite.cli.url' => 'http://cloud.mydomain.com',
);
and my httpd.conf
points to DocumentRoot "/var/www/html"
where I have a new index.html
for future use, and nextcloud is one further down in /var/www/html/nextcloud
but still mydomain.com
shows the nextcloud landing page, but with the “not trusted” notification, while cloud.mydomain.com
shows correctly the nextcloud login page why is my new index.html
not used? where is my mistake?