Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!lll-winken.llnl.gov!hookup!gatech!news.sprintlink.net!gryphon.phoenix.net!phoenix.phoenix.net!pflores From: pflores@phoenix.net (Paul Flores) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: WWW domain-name aliases on a single machine (Bind)? Date: 12 Jul 1995 13:08:00 GMT Organization: Phoenix Data Systems Lines: 52 Message-ID: <3u0hfg$3cl@gryphon.phoenix.net> References: <3tkhtd$6mk@news1.best.com> <3tp0t9$123@ionews.io.org> NNTP-Posting-Host: phoenix.phoenix.net X-Newsreader: TIN [version 1.2 PL2] All my Apache does under 2.0.5 is core dump. :< Think you could send me your Makefile? Paul Flores pflores@phoenix.net Brian Tao (taob@io.org) wrote: : In article <3tkhtd$6mk@news1.best.com>, John R. Haggis <haggis@netcom.com> wrote: : > : >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. : You *can* do it under Linux, but it's rather messy and requires : patches galore and replacement binaries. : >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 can be done the same way on FreeBSD as on BSD/OS. In my case, : my Web server is in a C-class domain, and I want to assign multiple : IP's to a single network interface (an NE2000 card, device ed1): : ifconfig ed1 inet 140.109.40.248 netmask 0xffffff00 : ifconfig ed1 inet 140.109.40.249 netmask 0xffffffff alias : ifconfig ed1 inet 140.109.40.250 netmask 0xffffffff alias : ifconfig ed1 inet 140.109.40.251 netmask 0xffffffff alias : ifconfig ed1 inet 140.109.40.252 netmask 0xffffffff alias : [etc..] note ---^^ : That's it. The machine will now answer to 5 IP addresses. Now : you need an HTTP server that can bind to a port at an individual : address. The Apache server will do this, and works quite nicely with : FreeBSD. See http://www.apache.org/ . : -- : Brian ("Though this be madness, yet there is method in't") Tao : taob@gate.sinica.edu.tw <-- work ........ play --> taob@io.org -- "I've Always been easy, just never cheap!" ------ ME!