

Code: Select all
UseCanonicalName On
ServerName CovsComp.ClubhouseCode: Select all
Also, while I think about it, does CovsComp.Clubhouse reslove to an ip address? Either by /etc/hosts or by a DNS server?
Code: Select all
ping -c 5 CovsComp.ClubhouseCode: Select all
jwright@kenny jwright $ ping www.djnauk.co.uk
PING kenny.djnauk.co.uk (192.168.1.1): 56 octets data
64 octets from 192.168.1.1: icmp_seq=0 ttl=64 time=0.3 ms
64 octets from 192.168.1.1: icmp_seq=1 ttl=64 time=0.1 ms
64 octets from 192.168.1.1: icmp_seq=2 ttl=64 time=0.1 ms
64 octets from 192.168.1.1: icmp_seq=3 ttl=64 time=0.1 ms
64 octets from 192.168.1.1: icmp_seq=4 ttl=64 time=0.1 ms
--- kenny.djnauk.co.uk ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 0.1/0.1/0.3 msCode: Select all
jwright@kenny jwright $ ping garrison.djnauk.co.uk
ping: unknown host garrison.djnauk.co.ukCode: Select all
# /etc/hosts: This file describes a number of hostname-to-address
# mappings for the TCP/IP subsystem. It is mostly
# used at boot time, when no name servers are running.
# On small systems, this file can be used instead of a
# "named" name server. Just add the names, addresses
# and any aliases to this file...
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/hosts,v 1.7 2002/11/18 19:39:22 azarah Exp $
#
127.0.0.1 localhost
192.168.1.1 kenny.djnauk.co.uk kenny wwwas well as the lineiface_eth0="192.168.0.2 broadcast 192.168.0.255 netmask 255.255.255.0"
replacing the 192.168.0.2 with whatever IP address you want to force the computer to have will mean that it will always resolve to that IP for the name that you will put in the /etc/hostsiface_eth0="dhcp"
also as a side note make sure you type the caps at the commandline whne you are typing the address or it won't find it at all. thats why I recommend making it all in lower127.0.0.1 localhost
192.168.0.2 CavsComp.Clubhouse
192.168.0.3 Laptop.Clubhouse
Code: Select all
a comment = '#'
remove the comment from 'ServerName localhost'
comment out the following
#LoadModule unique_id_module modules/mod_unique_id.so
#AddModule mod_unique_id.c
the run it and see if it works
/etc/init.d/apache start