Originally Posted by badgerbox76
My host file
192.168.0.105 monitorwaves.no-ip.org admin-server
127.0.0.1 localhost admin-desktop
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
root@admin-desktop:/home/admin# hostname -f
It should be coming out as admin-server and then monitorwaves.no-ip.org right?
The "hostname" doesn't come from the file "hosts" it comes from the file /etc/hostname, which must resolve to something with the resolver.
So in your case make /etc/hostname read "admin-desktop", and run
hostname -F /etc/hostname