This is e-mail notification to warn you that your hostname is setup improperly on your system.

veyselakbas

Verified User
Joined
Jul 29, 2019
Messages
8
Hello, I'm receiving the warning message below after each reboot,

I corrected nano /etc/hosts manually, I have already added a A record to hostname, Directadmin Admin setting adjusted properly to correct hostname?

After reboot systam adds 127.0.0.1 to my hostname again even I delete it.


Any idea to solve it?





my.hostname.com, resolves to 127.0.0.1. Please make sure that your hostname resolves to your server ip (51.89.40.128) or else your email may not work correctly.

Solution:

Create an A record for your hostname (sunucu.mavihosting.com.) in your DNS control panel. Point the hostname to your server's main IP address. Also check /etc/hosts to ensure that the server ip is correctly set.
 
Check this: https://forum.directadmin.com/threa...e-your-servers-hostname-in-directadmin.70371/
And your hostname is correctly set in Directadmin itself.

Then take care in /etc/hosts it looks like this:
Code:
127.0.0.1 localhost.localdomain localhost
51.89.40.128   sunucu.mavihosting.com sunucu
::1     ip6-localhost ip6-loopback
reboot the server.

Should be fine then.
Hello Richard, I did it several times. editing manualy. After each reboot 127.0.0.1 sunucu.mavihosting.com sunucu. record comes back.



::1 localhost localhost.localdomain localhost6 localhost6.localdomain6

51.89.40.128 sunucu.mavihosting.com sunucu

127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain

127.0.0.1 sunucu.mavihosting.com sunucu
 
Back
Top