Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Aug 2003 00:23:34 -0700 (PDT)
From:      Yusuf UZUNAY <yuzunay@yahoo.com>
To:        Don Buckley <don@dfbtech.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: OT: quick apache question
Message-ID:  <20030820072334.75195.qmail@web42006.mail.yahoo.com>
In-Reply-To: <JHEDKNEAAJELEBBEANFPIECBEMAA.don@dfbtech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
if don't give hostname in /etc/rc.conf like this
hostname="www.xxx.com"
and in /etc/hosts add these lines:
127.0.0.1    localhost.xxx.com localhost
1.1.1.1      www.xxx.com www
1.1.1.1      www.xxx.com
and last you can do this in httpd.conf file
ServerName www.xxx.com
Now Reboot Your computer! 
Byee! ;)

--- Don Buckley <don@dfbtech.com> wrote:
> sorry for the OT, but
> 
> I changed ISP's (telus.net to shaw) and my
> httpd-error.log is showing and
> error:
> 
>  mod_unique_id: unable to
> gethostbyname("hostname_from_/etc/rc.conf")
> 
> There's a tweak somewhere for this but i forget
> where :P
> 
> Thanks
> 
> Don@dfbtech.com
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribe@freebsd.org"


__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030820072334.75195.qmail>