*BSD News Article 59789


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!swrinde!gatech!newsfeed.internetmci.com!in2.uu.net!news.eng.convex.com!newshost.convex.com!usenet
From: "Alan E. Ross" <alan@popi.net>
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: Multiple Domains
Date: Tue, 16 Jan 1996 15:00:04 -0800
Organization: CONVEX Computer Corporation, Richardson, TX USA
Lines: 21
Message-ID: <30FC2DF4.3606@popi.net>
References: <30FB48F3.6D66@tddc.net>
NNTP-Posting-Host: mobil.convex.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.0b5 (Win16; I)

I did the same thing.  In a nutshell:

	1. ifconfig your net interface with the alias
	2. configure BIND for an MX record to the second domain
	3. add a CW record to /etc/sendmail.cw for the second domain
	4. go to /usr/share/sendmail/cf and edit the bsdi.mc file
		o Turn on the Masquerading feature
		o use m4 to remake the sendmail.cf file
	5. kill HUP named
	6. kill and restart sendmail

I may have left out a step, but that is basically it.  BTW - I grabbed
NCSA's httpd 1.5 and compiled it clean.  It has multi-domain support.

Regards,
Alan
BossRoss wrote:
> Is it possible to serve more than one domain on a BSDI host? I'm not
> talking about DNS, but actually running xyz.com (mail@xyz.com) and
> abc.com (mail@abc.com) on one box? I've seen references to the alias
> switch of ifconfig, is that how? What about sendmail support?