From owner-freebsd-isp Sat Apr 27 18:14:54 1996 Return-Path: owner-isp Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id SAA22925 for isp-outgoing; Sat, 27 Apr 1996 18:14:54 -0700 (PDT) Received: from irbs.irbs.com (irbs.com [199.182.75.129]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id SAA22919 for ; Sat, 27 Apr 1996 18:14:50 -0700 (PDT) Received: (from jc@localhost) by irbs.irbs.com (8.7.5/8.6.6) id VAA03181; Sat, 27 Apr 1996 21:13:40 -0400 (EDT) From: John Capo Message-Id: <199604280113.VAA03181@irbs.irbs.com> Subject: Re: Virtual Machines To: dashadow@tchnet.tchnet.com (John Hart) Date: Sat, 27 Apr 1996 21:13:39 -0400 (EDT) Cc: freebsd-isp@freebsd.org In-Reply-To: from John Hart at "Apr 26, 96 12:56:55 pm" X-Mailer: ELM [version 2.4ME+ PL11 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk John Hart writes: > Ok, I have a new domain setup for one of my customers (tschindler.com) > and I have my that in my nameserver configured correctly to point to my > home machine (tchnet.tchnet.com). Now, what I need to know is how I go > about configuring HTTPD for accepting connections on tschindler.com and > pointing to a different index file. I have edited the > /usr/local/www/config/httpd.conf file, as well as the > /usr/local/www/server/conf/httpd.conf file. (Not knowing which one was > the actual file being used.) Can anyone help me here? > The file is conf/httpd.conf in the server root directory. The root is wherever you configured it to be. Add a Virtual host section: ServerAdmin somebody@tschindler.com DocumentRoot /usr/local/www/tschindler # If /usr/local/www is the root ServerName www.tschindler.com ErrorLog logs/tschindler.com/error_log TransferLog logs/tschindler.com/access_log Add an alias to your network interface: ifconfig if_whatever alias 198.109.196.2 netmask 0xffffffff Put some pages in the document directory. Send the server a -1 signal. There are a slew of configuration and security details that are important but the above will get you started. Read and absorb all of the docs at the NCSA and Apache site. I just realized that you may not be using Apache. Oh well.. John Capo jc@irbs.com IRBS Engineering FreeBSD Servers and Workstations (954) 792-9551 Unix/Internet Consulting - ISP Solutions