Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Dec 1999 13:19:53 -0600
From:      Tony Wells <awells@journalstar.com>
To:        j scales <agentbsd@hotmail.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Apache problems and Setting Hostname Problems
Message-ID:  <38612459.114B7B1E@journalstar.com>
References:  <19991222185840.11544.qmail@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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