Help! /etc/hosts..The Perfect Server.

Discussion in 'HOWTO-Related Questions' started by xciso, May 16, 2013.

  1. xciso

    xciso New Member

    Hello.
    I am now going to setup a new webserver and i will follow the new guide "The Perfect Server" (Debian Wheezy Apache2) I have a VPS with Debian 7.0 64-bit.

    I have a little question about the editing in file /etc/hosts:
    My file look like this now:
    Code:
    # Auto-generated hostname. Please do not remove this comment.
    my.ip.x.xxx server1.domain.com  server1 localhost.localdomain
    ::1 localhost.localdomain localhost
    Should i change it to the style the guide say, or is my already fine?
    This is from the guide:
    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     ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    Thanks!
     
  2. xciso

    xciso New Member

    Please help!! :)
     
  3. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Yours is probably fine. :)
     
  4. xciso

    xciso New Member

    Hello.
    So you dont think i need to change anything?
     

Share This Page