HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   Help! /etc/hosts..The Perfect Server. (http://www.howtoforge.com/forums/showthread.php?t=61858)

xciso 16th May 2013 20:01

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!

xciso 17th May 2013 18:25

Please help!! :)

falko 17th May 2013 21:05

Yours is probably fine. :-)

xciso 20th May 2013 16:31

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


All times are GMT +2. The time now is 11:34.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.