Discussion in 'Installation/Configuration' started by Davide, Jul 24, 2006.

  1. Davide

    Davide Member


    In the following example machine:

    what should be "hostname", "hostname -d" and "hostname -f" answers on an ispconfig system?

    My answers are:

    hostname :
    hostname -f: machine
    hostname -d: (nothing)

    and I suspect this is not correct.

    Shouldn't it be

    hostname: machine
    hostname -f:

    Thankyou very much
  2. todvard

    todvard ISPConfig Developer ISPConfig Developer

    hostname -f should be you Fully Qualified Domain Name (fqdn), eg. host.domain.tld.
    1st question: which distribution are you using
    2. what are the contents of /etc/hosts, /etc/host.conf, /etc/hostname files

    the answers should be:
    hostname: host.domain.tld
    hostname -d: domain.tld
    hostname -f: host.domain.tld

  3. Davide

    Davide Member

    I reversed order in /etc/hosts, from

    x.x.x.x machine


    x.x.x.x machine

    Everything is working now as you suggests

    hostname -f:
    hostname -d:

    Thank you very much

Share This Page