Often after initial Directadmin setup, made by your server provider, you keep getting the following message: Subject: This is e-mail notification to warn you that your hostname is setup improperly on your system. You keep getting this e-mail daily until you do something with your hostname. It’s quite a strange thing that hostname isn’t set up during main Directadmin installation, but these messages are annoying.
In order to solve this issue we need to run a Directadmin script via SSH. This will fix your installation and our won’t get this message anymore. Let’s go: we need to login as root and run the following script with two parameters:
This will set your server hostname to one you specify in this command.