Results 1 to 2 of 2

Thread: Hostname problem?

  1. #1
    Join Date
    Nov 2016

    Hostname problem?


    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 to resolve your hostname, . This will cause major issues when sending email.


    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?

  2. #2
    Join Date
    Apr 2005
    GMT +7.00

    I'm not sure what kind of a help you want. So please clarify it. Or check the suggested link below:

    - How to change your hostname
    With regards, Alex.

    Professional Server Management for web hosting companies and individuals
    Hourly Support, Disaster Recovery, Server Hardening, Monthly Subscription
    Directadmin installation and optimization

    Click here if you need a Linux Admin

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts