Stuck on Network Hosts

Discussion in 'Installation/Configuration' started by fullmoonguru, Jul 31, 2010.

  1. fullmoonguru

    fullmoonguru New Member

    The Perfect 10.04 Server instructions say to make the etc/hosts file look like this:

    Code:

    127.0.0.1 localhost.localdomain localhost
    192.168.0.100 server1.example.com server1

    # The following lines are desirable for IPv6 capable hosts
    ::1 localhost ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters

    I'm not sure exactly what "look like this" means. Here's mine:

    Code:

    127.0.0.1 localhost
    127.0.1.1 mammy.ec.rr.com mammy

    # The following lines are desirable for IPv6 capable hosts
    ::1 localhost ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters

    Do I do this?:

    Code:

    127.0.0.1 localhost.voodoonet localhost
    192.168.0.194 mammy.ec.rr.com mammy

    # The following lines are desirable for IPv6 capable hosts
    ::1 localhost ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters

    Mammy is my server, voodoonet is may local network name, I'm on roadrunner so ec.rr.com refers to my time warner ISP
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    None of the above, waht you use is this:

    127.0.0.1 localhost.localdomain localhost
    192.168.0.194 mammy.ec.rr.com mammy

    # The following lines are desirable for IPv6 capable hosts
    ::1 localhost ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
     
  3. fullmoonguru

    fullmoonguru New Member

    Thank you!
     

Share This Page