Return to BSD News archive
#! rnews 1669 sserve.cc.adfa.oz.au Xref: sserve comp.infosystems.www.servers.unix:836 comp.unix.bsd.freebsd.misc:1534 Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news1.oakland.edu!wsu-cs!usenet.ins.cwru.edu!lerc.nasa.gov!magnus.acs.ohio-state.edu!math.ohio-state.edu!howland.reston.ans.net!nctuccca.edu.tw!news.cc.nctu.edu.tw!news.sinica!taob From: taob@gate.sinica.edu.tw (Brian Tao) Newsgroups: comp.infosystems.www.servers.unix,comp.unix.bsd.freebsd.misc Subject: Re: FreeBSD Web servers (was Re: NT server vs workstation for WWW server) Date: 25 May 1995 17:31:02 GMT Organization: Institute of Biomedical Sciences, Academia Sinica Lines: 15 Message-ID: <3q2esm$ko7@gate.sinica.edu.tw> References: <3p8afo$sb8@nntp.interaccess.com> <3pebt2$4g0@clarknet.clark.net> <3pmrs4$g5t@gate.sinica.edu.tw> <3q265j$j77@ibridge.iohk.com> NNTP-Posting-Host: @140.109.40.249 In article <3q265j$j77@ibridge.iohk.com>, David Wu <dyw@igate.iohk.com> wrote: > >i would like to run multiple IP addresses on a single web server on >BSDI. if this can be done on FreeBSD it is probably possible to do the >same on BSDI, but i don't know how. can you elaborate? Yes, it works on both FreeBSD and BSD/OS (and probably NetBSD too). Just use ifconfig's "alias" option to add as many IP's as you need to your network interface. Under FreeBSD, you also need to add a loopback route to each one ("route add <alias> localhost") so the machine can talk to itself at one of the aliases. The Apache server's VirtualHost directive works beautifully with this setup. -- Brian ("Though this be madness, yet there is method in't") Tao taob@gate.sinica.edu.tw <-- work ........ play --> taob@io.org