From owner-freebsd-questions@FreeBSD.ORG Thu Mar 25 16:26:37 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C267416A4CE for ; Thu, 25 Mar 2004 16:26:37 -0800 (PST) Received: from archangel.daleco.biz (unknown [69.27.131.0]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3B9C43D31 for ; Thu, 25 Mar 2004 16:26:35 -0800 (PST) (envelope-from kadmin@archangel.daleco.biz) Received: from localhost (localhost [127.0.0.1])i2Q0PHu0017139; Thu, 25 Mar 2004 18:25:18 -0600 (CST) (envelope-from kadmin@archangel.daleco.biz) Received: from archangel.daleco.biz ([127.0.0.1]) by localhost (archangel.daleco.biz [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 16212-08; Thu, 25 Mar 2004 18:25:16 -0600 (CST) Received: from archangel.daleco.biz (localhost [127.0.0.1]) i2Q0PDxi017135; Thu, 25 Mar 2004 18:25:14 -0600 (CST) (envelope-from kadmin@archangel.daleco.biz) Received: (from kadmin@localhost) by archangel.daleco.biz (8.12.10/8.12.9/Submit) id i2Q0PDKV017134; Thu, 25 Mar 2004 18:25:13 -0600 (CST) (envelope-from kadmin) Date: Thu, 25 Mar 2004 18:25:13 -0600 From: Kevin Kinsey To: Gerard Seibert Message-ID: <20040326002513.GA17083@archangel.daleco.biz> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: by amavisd-new at archangel.daleco.biz cc: questions@freebsd.org Subject: Re: Setting up Apache X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Mar 2004 00:26:37 -0000 On Thu, Mar 25, 2004 at 06:55:26PM -0500, Gerard Seibert wrote: > My cable company has agreed to issue me a dedicated IP address in exchange > for my sending them an additional fee each month. > > I presently have two web sites that are being hosted by two different web > hosts. I would like to host both of them myself. I know that Apache can > easily handle that problem even though they would be sharing an IP > address. > > My problem is that I have no working knowledge of Apache. I was wondering > if someone could recommend a good book or two that could walk me through > the steps of setting the program up and getting it running. It has to be > the sort of book that does not assume I have a college degree in Computer > Science. > The Apache documentation, and carefully tendered questions, should be enough for a start --- as far as Apache goes. Millions of people use it --- it may feel scary at first, but it's not so bad for basic site use. For starters, make sure your ports tree is up to date, and issue the following (assuming version 1.3.x here): #cd /usr/ports/www/apache13 #make install clean (if csh or tcsh) #rehash Then: #apachectl configtest If this reports "OK", open a browser to http://localhost and see if it's telling the truth.... Probably your more pressing problems (although I don't know what you already know about) will be DNS, security, etc.... Anyway, if you get that far, read the "virtual hosts" section of /usr/local/etc/apache/httpd.conf and see what's up next for putting two sites on one server .... :-) Kevin Kinsey DaleCo, S.P.