*BSD News Article 46599


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!bloom-beacon.mit.edu!gatech!howland.reston.ans.net!news-e1a.megaweb.com!newstf01.news.aol.com!uunet!in1.uu.net!mozz.unh.edu!toto.plymouth.edu!oz.plymouth.edu!not-for-mail
From: ted@oz.plymouth.edu (Ted Wisniewski)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: WWW domain-name aliases on a single machine (Bind)?
Date: 9 Jul 1995 11:53:39 -0400
Organization: Plymouth State College - Plymouth, NH.
Lines: 31
Message-ID: <3tou23$if5@oz.plymouth.edu>
References: <3tkhtd$6mk@news1.best.com>
NNTP-Posting-Host: oz.plymouth.edu

In article <3tkhtd$6mk@news1.best.com> haggis@netcom.com (John R. Haggis) writes:
>I'm looking for an OS to set up a Web server.  I need to set up multiple
>domain names to link to web pages without subdirectory path designations,
>e.g.:
>  http://www.userdomain.com/
>
>NOT:
>  http://www.topdomain.com/~user
>
>I heard that on Linux, you couldn't do this...  Something about the version
>of "bind" that ran on it.  I heard that on BSDI, you CAN do it the way I
>want, but that's too expensive for me right now.
>
>Is it possible on freeBSD?

It should be...  I have not actually done it, but I have set up a machine with
multiple IP's.  You need a web server that supports multi-homing, like
Apache or a patched NCSA httpd.   Do your 

		# ifconfig etherdevice alias NNN.NNN.NNN.NNN

Where NNN... is the other IP address and "etherdevice" is the device
designation of you ethernet adapter, like le0, ep0 etc...



|   Ted Wisniewski    		     INET:  ted@oz.plymouth.edu          |
|   Computer Services                       ted@wiz.plymouth.edu         |
|   Plymouth State College                  tedw@psc.plymouth.edu        |
|   Plymouth NH, 03264               HTTP:  http://oz.plymouth.edu/~ted/ |