I finally got Virtual Domains working with BSDi 2.01 and NCSA
httpd 1.5 - Here's what to do......
First of all -
Make sure you are primary delegator for the new domains -
I haven't tried being the secondary yet.
Set them up with their own ip's in your nameserver.
then do a
ifconfig ef0 newip alias
route add host newip 127.0.0.1
(ef0 is the ethernet card)
(newip is the ip address you just setup)
Then in the httpd.conf file...do...
<VirtualHost newip Optional>
DocumentRoot /usr/local/etc/httpd/docs/directory
ServerName www.domain.com
</VirtualHost>
That outa take care of it.
above - newip is the New IP you just setup in your nameserver.
make sure you can ping the newip before proceeding
Also DocumentRoot is whatever directory you want to assign
to the new domain's document root.
Of course you will have to kill `cat /usr/local/etc/httpd/logs/httpd.pid`
then restart the httpd.
Have fun!
HTH
Jordan Redner