Subject: Re: ifconfig alias & multi-homed webservers
To: tom thai <tom@iic.net>
From: matthew@risetime.com <matthew@interaccess.com>
List: current-users
Date: 06/22/1995 12:28:43
> 
> serving multiple website on one netbsd box using Apache and virtual host?
> 
> one netbsd box: www.somebox.com
> serves for other address:
>         www.smallcom.com
>         www.site.com
> 
> all using ifconfig alias... anyone done this?


Lets' say: 
	www.somebox.com  == 128.45.80.10
	www.smallcom.com == 128.45.80.18
	www.site.com     == 128.45.80.38

In /etc/netstart,
	ifconfig ep0 128.45.80.10 link0
	ifconfig ep0 128.45.80.18 alias
	ifconfig ep0 128.45.80.38 alias

Like that - 

- mz

----
matthew zeier                     "Do what you can with what you have
  matthew@risetime.com             where you are."  -Teddy Roosevelt
......................................................................
Programmer / Online Junkie                        Ph. 708/483-8787
  "So no one told you like was gonna be this way..."