Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!math.ohio-state.edu!uwm.edu!homer.alpha.net!goodnews.globaldialog.com!usenet From: "Scott M. Trautman" <scott@globaldialog.com> Newsgroups: comp.unix.bsd.bsdi.misc Subject: Re: Virtual Domain help please Date: Wed, 06 Nov 1996 08:02:23 -0600 Organization: Global Dialog Internet Lines: 25 Message-ID: <32809A6F.5133@globaldialog.com> References: <E02tr9.FAM@eskimo.com> NNTP-Posting-Host: smt.globaldialog.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.0 (Win95; I) Mark Dreyer wrote: > > I have begun setting up to host virtual domains and have found all > information necessary (I believe) with the exception of how to get my > ethernet card to respond to two ip addresses. Can anyone help me with this? 1. alias the address to your ethernet adapter. CAUTION: be VERY careful with the ifconfig command; you will be left high and dry if you forget the alias at the end (trust me I know) ifconfig ef0 inet www.whatever.com netmask 255.255.255.0 alias -it may report "file already exists"/something like that. That is normal 2. add the route to it route add www.whatever.com localhost -static Other than the VirtualHost entry in httpd.conf, that's about it. Check for the entry using 'netstat -r', and also don't forget to add the r-arp entry. Scott M. Trautman Global Dialog Internet