Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jan 1998 12:54:29 -0800 (PST)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Jeff Hartman <jeff@wilkshire.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: virtual hosting
Message-ID:  <Pine.BSF.3.96.980127125235.16751E-100000@gdi.uoregon.edu>
In-Reply-To: <01bd286d$9bc88d00$0b2ccecf@graphic.wilkshire.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 23 Jan 1998, Jeff Hartman wrote:

> hello,
> 
> how do you create a virtual host on freebsd?
> 
> i have created  the virtual ip address by using 
> ifconfig lo0 up "10.5.40.25"
> 
> but i cannot add the following:
> apr -s `/usr/libexec/ether_addr "10.5.40.25"` pub
> ether_addr does not exist in the /usr/libexec directory
> and does creating a  /etc/virtualip  file save this information?

Try

ifconfig ed0 inet 10.5.40.25 netmask 0xfffffff alias

> also do you have any sample named.hosts and named.rev files on
> hand to help in the configuration of dns?

If you run the make-localhost script in /etc/namedb/ that will get you
some skeleton DNS files.  Also buy the book ``TCP/IP Network
Adinistration'' from ORA.

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980127125235.16751E-100000>