The hostname file sets a string presented by CAS in internal URLs.
It is a required file.
This setting affects Onfido, Veriff, Morphis, and some REST APIs.
The file /batm/config/hostname
must be present and contain your server's domain name:
cat /batm/config/hostname
that should return your domain name. If empty, add the default to CAS by using:
su -c 'hostname > /batm/config/hostname'
If you know your domain name, and wish to enter it specifically (recommended), use:
su -c 'echo your.host.name > /batm/config/hostname'
replace “
your.host.name
" with the fully qualified domain name (e.g. example.yourcasdomain.com).