From owner-freebsd-questions Wed Oct 8 15:02:07 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA17775 for questions-outgoing; Wed, 8 Oct 1997 15:02:07 -0700 (PDT) (envelope-from owner-freebsd-questions) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA17766 for ; Wed, 8 Oct 1997 15:02:02 -0700 (PDT) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.5/8.8.5) with SMTP id PAA02015; Wed, 8 Oct 1997 15:00:39 -0700 (PDT) Date: Wed, 8 Oct 1997 15:00:39 -0700 (PDT) From: Doug White Reply-To: Doug White To: Gao Fei cc: freebsd-questions@FreeBSD.ORG Subject: Re: How can I make virtual host? In-Reply-To: <34372CF3.38FC801D@public.intercom.com.cn> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sun, 5 Oct 1997, Gao Fei wrote: > I want to make my FreeBSD to become our virtual hosts server, how can I > do? Carefully. :-) FreeBSD uses the same basic tools that other OSs do, such as BIND and Apache. The only specific part is setting up the Ethernet interface for the multiple addresses, which we call Ethernet aliases. See /etc/rc.conf for instructions on how to set up alias'd addresses. Note that aliased addresses MUST have a netmask of 255.255.255.255. For instance: ifconfig ed0 inet 128.111.111.110 netmask 0xffffff00 ifconfig ed0 inet 128.111.111.111 netmask 0xffffffff alias ... Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major