Linux > DirectAdmin
Hostname and servername set in DA do not match..
(1/1)
Aby:
Your hostname, and the servername you have set in DirectAdmin, server.host.com
where the hostname is blank (note the ", ,"), a reported cause of this is an incorrectly setup /dev/null file.
First make sure the hostname isn't simply blank by checking:
--- Code: ---/bin/hostname --fqdn
--- End code ---
To ensure you get something displayed.
If you do see something, then the solution is to set it correctly:
--- Code: ---rm /dev/null
mknod -m 0666 /dev/null c 1 3
--- End code ---
Related:
http://directadmin.com/forum/showthread.php?t=37339
Another confirmed solution for when you get the error message:
--- Code: ---hostname: Name or service not known
--- End code ---
is to edit your /etc/hosts file, and change:
--- Code: ---1.2.3.4 your.hostname.com
--- End code ---
to be:
--- Code: ---1.2.3.4 your.hostname.com your
--- End code ---
such that you have both the long and short forms of your hostname beside your server IP.
If you do have a hostname in the output, eg:
--- Code: ---Your hostname, bob.host.com, and the servername you have set in DirectAdmin, server.host.com, do not match.
--- End code ---
it means you just need to update the hostname:
Admin Level -> Admin Settings -> servername
set it, and save. You may need to change it to something else, then back again to re-sync it.
Also ensure that you have a full zone for the hostname in your dns:
Admin Level -> DNS Admin -> server.host.com
so that it resolves and has MX records
----
Navigation
[0] Message Index
Go to full version