Confused about hostname w/ my setup

Discussion in 'HOWTO-Related Questions' started by micko_escalade, Jul 9, 2007.

  1. micko_escalade

    micko_escalade New Member

    Hi all,

    Let's call my domain www.exa-ample.com
    in my /etc/hosts I have this

    127.0.0.1 server.exa-ample.com server localhost.localdomain localhost
    ::1 server.exa-ample.com server localhost.localdomain localhost

    so according to the howto setup for FC6 I need to add 192.168.0.103 server.exa-ample.com server to hosts file so that it looks like this

    127.0.0.1 server.exa-ample.com server localhost.localdomain localhost
    192.168.0.103 server.exa-ample.com server
    ::1 server.exa-ample.com linux localhost.localdomain localhost
     
  2. falko

    falko Super Moderator ISPConfig Developer

    No, the file must look like this:
    Code:
    127.0.0.1        localhost.localdomain localhost
    192.168.0.103           server.exa-ample.com server
    ::1        server.exa-ample.com linux localhost.localdomain localhost
     
  3. micko_escalade

    micko_escalade New Member

    Much more clear now.
    Thanks falko!
     

Share This Page