by Luca Favaro.
where do I set the hostname in config.php?
now I have:
$protocol='http://';
$hostname='127.0.0.1';
if (isset($_SERVER['HTTPS'])) { $protocol='https://'; }
if (isset($_SERVER['HTTP_HOST'])) { $hostname=$_SERVER['HTTP_HOST']; }
$CFG->wwwroot = $protocol.$hostname;
Do you think I should enter $hostname='lms.company.com'; instead of the localhost IP?