Hostname problem?

krystiank7

New member
Joined
Nov 29, 2016
Messages
3
Hi,

I received this message:

Subject: This is e-mail notification to warn you that your hostname is setup improperly on your system.
Cannot find your hostname using the command '/bin/hostname --fqdn'. Please check this command to ensure it works properly.
If you get the error:
hostname: Name or service not known

Check your /etc/resolv.conf and try setting it to use 127.0.0.1Unable to resolve your hostname, . This will cause major issues when sending email.

Solution:

Create an A record for your hostname (.) 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.

Can someone help me solve this problem more accurately?
 
Back
Top