View Single Post
  #1  
Old 16th May 2013, 20:01
xciso xciso is offline
Member
 
Join Date: Feb 2008
Posts: 55
Thanks: 0
Thanked 1 Time in 1 Post
Default Help! /etc/hosts..The Perfect Server.

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!
Reply With Quote
Sponsored Links