Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 May 1998 13:51:52 -0500
From:      "David L. Aldridge" <dlac@aldridge.com>
To:        freebsd-questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Virtual Hosts
Message-ID:  <35632648.2B5BDF75@aldridge.com>
References:  <Pine.BSF.3.96.980520111533.4059J-100000@java.dpcsys.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Dan Busarow wrote:
> 
> On Wed, 20 May 1998, David L. Aldridge wrote:
> > I have bound the IP addresses to the interface, configured DNS
> > to advertise each name on a different IP address, and configured
> > the web,ftp, etc. software to correlate the host to the IP address mapping and
> > use different document trees.
> 
> An example from rc.conf or wherever you set up the aliases would help
> but I'll guess that you are not using a 255.255.255.255 netmask.
> 
> You'd be getting error messages but the system would work as you describe.
> 
> Dan
> --
>  Dan Busarow                                                  949 443 4172
>  DPC Systems / Beach.Net                                    dan@dpcsys.com
>  Dana Point, California  83 09 EF 59 E0 11 89 B4   8D 09 DB FD E1 DD 0C 82

Yes, I am using the 255 netmask.
My syntax is 
echo -n ' address aliases'

ifconfig ep0 209.113.58.2 netmask 0xffffffff alias
ifconfig ep0 209.113.58.3 netmask 0xffffffff alias
ifconfig ep0 209.113.58.4 netmask 0xffffffff alias
...and so on

netstat returns
TripleCrown:/etc/#netstat -r | more
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif Expire
default            wall-aldridge-gw.h UGSc      224      337       ep0
localhost          localhost          UH          0      191       lo0
base.vsbw.com/25   link#2             UC          0        0
TripleCrown        0:a0:24:23:8f:24   UHLW        2      158       lo0
www                www                UH          0       11       ep0 =>
www/32             link#2             UC          0        0
www.spinneret.com  www.spinneret.com  UH          0        0       ep0 =>
www.spinneret.com/ link#2             UC          0        0
www.gensys.com     www.gensys.com     UH          0        0       ep0 =>
www.gensys.com/32  link#2             UC          0        0
demo               demo               UH          0        0       ep0 =>
demo/32            link#2             UC          0        0
www.boldcreative.c www.boldcreative.c UH          0        0       ep0 =>
www.boldcreative.c link#2             UC          0        0
www.burnskopatic.c www.burnskopatic.c UH          0        0       ep0 =>
www.burnskopatic.c link#2             UC          0        0
...and so on

--
David L. Aldridge
The Aldridge Company 281.368.0166 (fax: 281.368.0381)
http://www.aldridge.com/
Powered by Pentium/FreeBSD/Apache - Because it works.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35632648.2B5BDF75>