OK thanks.
I changed config.php and cleared the cache, but I tried to login to the forum via the new domain name and it failed with the msg "Oops! Something went wrong. Please reload the page and try again."
I also tried resetting my password, but I got the same message when clicking submit, and again when trying to register a new user on the forum.
Could there be something extra added in by the hosting provider which I need to be aware of? This is my config.php:
carbonc@webarch7:~$ cat sites/flarum/config.php
<?php return array (
'debug' => false,
'poweredByHeader' => true,
'database' =>
array (
'driver' => 'mysql',
'host' => 'localhost',
'port' => 3306,
'database' => 'carbonc_ff',
'username' => 'carbonc',
'password' => 'somethingunbreakable',
'charset' => 'utf8mb4',
'collation' => 'utf8mb4_unicode_ci',
'prefix' => '',
'strict' => false,
'engine' => 'InnoDB',
'prefix_indexes' => true,
),
'url' => 'https://forum.ecocounts.community', #This is the new one
'paths' =>
array (
'api' => 'api',
'admin' => 'admin',
),
);