Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!news.kei.com!hookup!noc.tor.hookup.net!news.visinet.ca!ceylon.visinet.ca!henryc From: henryc@ceylon.visinet.ca (Christian Henry) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Virtual Hosts Date: 21 Dec 1995 01:36:34 GMT Organization: VisiNet Internet Services Inc. Lines: 22 Message-ID: <4badn2$a9c@kenya.visinet.ca> References: <4as581$4rb@news.ccs-online.com> NNTP-Posting-Host: ceylon.visinet.ca In article <4as581$4rb@news.ccs-online.com>, Tim Berdahl <berdahl@news.ccs-online.com> wrote: >I have a web server setup which has 5 virtual hosts and it actually does work. >However, I have two questions: > >1. When ifconfig'ing the virtual hosts with the command: > ifconfig ed0 inet virtual_host_ip_addr alias > if says: > ifconfig: ioctl (SIOCAIFADDR): File exists > Then, if I execute the same command a second time, everything seems to > work. Try using the following style instead: ifconfig ed0 alias virtual_host_ip_addr netmask 0xffffffff Before I tried this on our web server, I encountered the same problems you are. -- Christian Henry e-mail: henryc@visinet.ca Networks Integration Toronto, Ontario support: (416) 488-5352 VisiNet Internet Services Canada data: (416) 488-4009