Trying to setup network for server, but unsure how to edit /etc/hosts
I've got a home server 9.10 server ed. and I'm trying to set it up as a web server following the guide on http://
In it mine has:
127.0.0.1 localhost
127.0.1.1 Server.oc.cox.net Server
# 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
ff02::3 ip6-allhosts
the forum suggests this:
127.0.0.1 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
ff02::3 ip6-allhosts
How do I go about configuring this correctly?
Thanks for your help, networking is not my specialty.
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask jbowen7 for more information if necessary.