*BSD News Article 48527


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!swidir.switch.ch!scsing.switch.ch!news.rediris.es!news.uoregon.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!newsfeed.internetmci.com!news.sprintlink.net!mhv.net!port2
From: matthew@ios.com (Matthew McGehrin)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Virtual Domains - BSDI 2.0 - IFCONFIG
Date: 7 Aug 1995 20:24:48 GMT
Organization: Intercall Inc
Lines: 37
Message-ID: <405st5$g18_001@port2.gbn.net>
NNTP-Posting-Host: port2.gbn.net
Keywords: virtual domains, bsdi2.0, ifconfig
X-Newsreader: News Xpress Version 1.0 Beta #3

Hello,
 I am a relative new user of bsdi2.0. At work we are running the following :

Pentium 90, 32 megs ram
BSDI 2.0
NCSA 1.4.3 patched for multi-homed operation

I tried setting up multiple domains with the ncsa server. However, i am not 
sure whether my configuration is in correct or not. I have ifconfig setup 
like this in netstart :

We are not a live network yet, so i am using the below ip's for now.

ifconfig 198.4.75.48
ifconfig 198.4.75.49 alias


198.4.75.48 = www.fruit.org
198.4.75.49 = www2.fruit.org

I also have both domains setup in dns as

198.4.75.48 in a www.fruit.org
198.4.75.49 in a www2.fruit.org
I also setup virtual domain as specified in the 1.4.3 patch, and the problem 
is the following. I try accessing the www.fruit.org, it works for the first
time, then i try www2.fruit.org, this also works for the first time, i reload 
www.fruit.org and bingo it loads www2.fruit.org, not fruit.org. 

I am bit confused at this point, any suggestions would be appreciated. 

If possible, please email me at matthew@ios.com.

Thanks In Advance

Matthew