Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!news.mel.aone.net.au!mackay02.cqit.qld.edu.au!chalmers.com.au!robert From: robert@chalmers.com.au (Robert Chalmers) Newsgroups: comp.unix.bsd.freebsd.misc Subject: virtual host problems, I think. Date: 14 Dec 1996 03:29:31 GMT Organization: Triple-W. Whitsunday Web Works. Lines: 32 Message-ID: <58t6ur$4jp@mackay02.cqit.qld.edu.au> NNTP-Posting-Host: ruby.chalmers.com.au X-Newsreader: TIN [version 1.2 PL2] Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:32551 Been setting up a virtual host, and think I have it all in place apart from a couple of things. If anyone could point out any obvious problems, i'd appreciate ti. type in, as root # ifconfig ed1 inet xxx.xxx.xxx.xxx alias ( this reports a 'file exists' type error ? ) I added the line to the end of rc.local as well. Set up the dns. primary & secondary. reload. ping. nslookup: A-OK set up the <VirtualServer> part of the httpd.conf file. restart httpd. Now, all appears to be basically ok. However, if I leave off the _server_ name of the new virtual web, and just enter the domain on the URL line, it comes up with the index file in the virtual home, but it's connected to the true server, even though the url location displays the virtual name? If I enter the actual virtual host name and domain it works fine. Also, how can I get rid of that pesky "file exists" error? and do i need an "arp -s xxx.xxx.xxx.xxx x:x:x:x:x:x:x pub" startement? hmm thanks for any advice, bob