Display More
Reporter Thomas (Serverman) Created Jan 12, 2018 11:45:43 AM Updated Jan 12, 2018 11:45:43 AM Priority Normal Type Bug State Submitted Assignee Laurent Declercq (nuxwin) Subsystem No subsystem Affected versions 1.5.1 Milestone 1.6.0 Severity No severity Hej,
in https://github.com/i-MSCP/imsc…ges/FrontEnd/Installer.pm there is a split of the hostname to create the panel adress:
my @labels = split /./, main::setupGetQuestion( 'SERVER_HOSTNAME' );
$domainName = 'panel.' . join( '.', @labels[1 .. $#labels] );
This is very unlucky cause most servers should have a fqdn (hostname.domainame.tld) as a hostname.
The split makes out of a valid fqdn a new panel adress with panel.domainname.tld which is in most cases not wanted.
Better would be
$domainName = main::setupGetQuestion( 'SERVER_HOSTNAME' );
Or maybe panel.SERVER_HOSTNAME . But not panel.domainname.tld.
Thanks
Thomas