*BSD News Article 25062


Return to BSD News archive

Xref: sserve comp.unix.bsd:13098 comp.protocols.tcp-ip:26562
Path: sserve!newshost.anu.edu.au!munnari.oz.au!bunyip.cc.uq.oz.au!harbinger.cc.monash.edu.au!yeshua.marcam.com!zip.eecs.umich.edu!zip.eecs.umich.edu!zeeff
From: zeeff@zip.eecs.umich.edu (John Zeeff)
Newsgroups: comp.unix.bsd,comp.protocols.tcp-ip
Subject: virtual hosts based on ip address?
Date: 16 Dec 1993 15:05:31 GMT
Organization: University of Michigan EECS Dept., Ann Arbor, MI
Lines: 9
Message-ID: <2eptfr$1lr@zip.eecs.umich.edu>
NNTP-Posting-Host: zip.eecs.umich.edu

I'd like to take one physical machine (running bsdi) and make it look like
two different machines to the outside world.  In particular, I'd like
people to be able to do things like "gopher machine1.org" and "gopher
machine2.com" and get different menus (I don't want to use non standard 
port numbers for this).  So ideally the one machine would have two ip
addresses and inetd would detect which one was being used and spawn the 
appropriate gopherd.

Any ideas on how I can do this?