Nextcloud version 18.0.14
The issue you are facing:
I have installed NextCloud on a hosting server and used a domain I had available, e.g. domain.com
I don’t want this domain any more, so I want to enter NextCloud from a different address. But when I enter it using the default server address and the path to the installation, e.g. myserver.hosting.com/myInstallDirectory/index.php I get the login screen but it says my user or password is incorrect. It also does not send the “password reset” mail when I use this option.
I am a basic user and a newbie but have tried to find the answer over the internet, and failed to find anything I could hang on to. I found some information on NextCloud not being able to function with two addresses configured if one of them is a path, and the other is a domain, but I fail to find any details on where this can be configured. I will be most grateful for any leads.
<?php $CONFIG = array ( 'instanceid' => 'redacted', 'passwordsalt' => 'redacted', 'secret' => 'reducted', 'trusted_domains' => array ( 0 => 'myserver.hosting.com', ), 'datadirectory' => '/home/myserver/ftp/myInstallDirectory/data', 'dbtype' => 'mysql', 'version' => '126.96.36.199,', 'overwrite.cli.url' => 'http://myserver.hosting.com/myInstallDirectory', 'dbname' => 'redacted', 'dbhost' => 'redacted', 'dbport' => '', 'dbtableprefix' => 'oc_', 'mysql.utf8mb4' => true, 'dbuser' => 'redacted', 'dbpassword' => 'redacted', 'installed' => true, 'maintenance' => false, 'theme' => '', 'loglevel' => 2, );