From owner-freebsd-questions Wed Dec 22 11:16: 4 1999 Delivered-To: freebsd-questions@freebsd.org Received: from trinity.lee.net (trinity.lee.net [208.229.121.1]) by hub.freebsd.org (Postfix) with ESMTP id 38BC915652 for ; Wed, 22 Dec 1999 11:15:47 -0800 (PST) (envelope-from awells@journalstar.com) Received: from journalstar.com (leepcD-121.sub-d.lee.net [208.205.127.121]) by trinity.lee.net (8.9.1/8.9.0) with ESMTP id NAA08732; Wed, 22 Dec 1999 13:15:44 -0600 Message-ID: <38612459.114B7B1E@journalstar.com> Date: Wed, 22 Dec 1999 13:19:53 -0600 From: Tony Wells X-Mailer: Mozilla 4.61 [en] (X11; I; FreeBSD 3.0-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: j scales Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Apache problems and Setting Hostname Problems References: <19991222185840.11544.qmail@hotmail.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG When you say you put cafebsd.dhs.org "in there", where is there? Usually when you see that message from httpd it means that it can't determine the hostname of the machine. In httpd.conf there is a directive "ServerName", edit httpd.conf and set that directive to the name of your machine. Apache should startup then. (Assuming there are no other configuration errors.) You can use the apachectl script found in the bin directory of your installation to test your config file. Use 'apachectl configtest' to test your httpd.conf for errors. j scales wrote: > > Ok, when I type httpd when i am logged in as root it tells me to set the > "ServerName Manually".. I have tried, I have a sub domain cafebsd.dhs.org > nad i put that there no luck... I have not played with /etc/hosts.conf or > whatever that file is, I did do an FTP install when installing bsd and where > it wanted me to do dhcp I did not type a domain I left it blank could that > be the problem and is there a nifty way to fix it to where it thinks > cafebsd.dhs.org is its hostname. I just installed it a few days ago because > I was getting angry at being hacked at while I was using linux, FreeBSD is > easy.. well for me so far setting up and all.. But I neeeed to know how to > get the apache server working and how to set my hostname to > cafelinux.dhs.org. I've even tried the manual but still have not gotten > anywhere. > Oh yea cafebsd is gonna be a *bsd help server specializing in FreeBSD... :) > Thanks > - Agent79 > ______________________________________________________ > Get Your Private, Free Email at http://www.hotmail.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message