ISPConfigLog::error('Could not read the host name of your server. Please check it is correctly set.',true);
thrownewISPConfigOSException('Invalid host name or host name not found.');
}elseif(substr_count($host_name,'.')<2){
ISPConfigLog::error('The host name '.$host_name.' of your server is no fully qualified domain name (xyz.domain.com). Please check it is correctly set.',true);
thrownewISPConfigOSException('Host name is no FQDN.');
ISPConfigLog::error('Could not read the host name of your server. Please check it is correctly set.',true);
thrownewISPConfigOSException('Invalid host name or host name not found.');
}elseif(substr_count($host_name,'.')<2){
ISPConfigLog::error('The host name '.$host_name.' of your server is no fully qualified domain name (xyz.domain.com). Please check it is correctly set.',true);
thrownewISPConfigOSException('Host name is no FQDN.');