Richard G
Verified User
In that case it would look as if you haven't setup your hostname on directadmin itself correctly. However, the hostnamectl is giving the correct output, so that is odd.but will not load at all from https://chevelle.prime42.net:2222/.
The server-172-102-243-9.da.direct is something DA started with a few years ago (I'm not happy with it either) while before they just used the hostname if available. And to make things start working for users who don't now how to setup a hostname correctly or want to do that later on.
This is done by DA to be sure users can access the DA panel via https after they installed Directadmin.
So this is also the reason this is autodetected and pointed out as to visit to be able to enter Directadmin.
That part is indeed odd. Check with both the commandsAlso, this is my hostname info, which was set prior to running the setup script.
hostname
and hostname -f
if both are giving the correct hostname. I've installed a server 2 weeks ago where these commands gave the correct hostname output. And DA was setup with the correct hostname.If these command now give out the correct hostname, but DA was still installed with the ipxadres-da.direct hostname, then something might have gone wrong in the latest DA version build.
Doublecheck that both /etc/hostname and /etc/hosts have the correct chevell.prima42.net hostname present in there.
Also login to DA and change your hostname in there if that is still pointing to the da.direct hostname.
After that, add your hostname record. Since you use external mail and DNS anyway, easiest way is to add the A record for the hostname in your domain DNS on DA and on your domain DNS external.
Then it should in fact be working.
However I wonder if you have waited long enough after installation, because based on nslookups, all is pointing out correctly.
I will explain.
When doing a DA setup, then Directadmin itself is installed quite quickly nowadays. But that is only the panel so you can have a look around.
However, everything else (apache, exim, mariadb etc.) is installed in the background. You will get a notification in the message system of DA if all that is done and ready.
To my experience it is best to not start changing things in the DA setup, until you have got that message that everything is ready.
Because even if you domain is not setup correctly, when using http:/172.102.243.9:2222 DA should work anyway.
And in your case that is not happening. So it seems Directadmin is either not running at the moment, or something went totally wrong during installation, maybe because you acted too soon or something else went off.
Could it be you started to soon working in the DA gui?