From owner-freebsd-questions Tue Jul 28 04:25:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA23576 for freebsd-questions-outgoing; Tue, 28 Jul 1998 04:25:26 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from cyclone.degnet.baynet.de (cyclone.degnet.baynet.de [194.95.214.129]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id EAA23524 for ; Tue, 28 Jul 1998 04:25:09 -0700 (PDT) (envelope-from malte@webmore.com) Received: from neuron.webmore.de (unverified [194.95.214.160]) by cyclone.degnet.baynet.de (EMWAC SMTPRS 0.83) with SMTP id ; Tue, 28 Jul 1998 13:24:27 +0200 Received: (from malte@webmore.com) by neuron.webmore.de (8.8.8/8.8.8) id NAA01645; Tue, 28 Jul 1998 13:20:54 +0200 (CEST) From: Malte Lance MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue, 28 Jul 1998 13:20:53 +0200 (CEST) To: "nk99" Cc: Reply-To: malte.lance@gmx.net Subject: Re: ifconfig - vhosts - help! In-Reply-To: <005a01bdb9de$d785f280$34b4a98e@default> References: <005a01bdb9de$d785f280$34b4a98e@default> X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <13757.43370.210652.917430@neuron.webmore.de> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG nk99 writes: Would you please keep in mind that my xterm cannot display 400 chars in width. So please press the "ENTER"-key from time to time. (I refuse to reformat your message for you, and next time i'll send you the text of the whole bible as spaghetti-one-liner-email. Since you claim to be a sysadmin, you really should know how to write proper emails and that there are people not just gambling on a clicki-clicki-98-GUI. And since you are an sysadmin, you won't feel offended due to my rough tone about that since i am already offended to your email-formatting. And btw. Greg Lehey has a really nice online-text about propper email-formating.) Now to your questions: > Hello, > > Normally I wouldn't e-mail you about this but in this situation I'm very desperate. Being very new to FreeBSD (been using Linux for a while), I don't know too much about it. I've been searching all over the web and asking this question in all kinds of mIRC channels without much help for hours. I really need your help. > My question: My host is noc.panthernet.com, running FreeBSD 2.2.5 . I'm the sysadmin, and I've been asked by the root to set up some virtual hosts. I've got my IP block, and I'd like to get started. Unfortunately, I've been going no where for hours. > Question one: How do I setup IP 1.2.3.5 to be a virtual host to 1.2.3.4 (that is to say telnetting to 1.2.3.5 would bring up 1.2.3.4, a virtual host). I know it has something to do with ifconfig, but I'm stumped. Assuming your device is "ed0" and is already configured with 1.2.3.4: ifconfig ed0 inet 1.2.3.5 netmask 0xffffffff alias BTW.: there is an example in /etc/rc.conf > Question two: Once IP 1.2.3.5 has been setup, how do I give it a hostname (host.panthernet.com)? I've added an entry to /etc/hosts, but it didn't work, I don't think, since it doesn't DNS resolve. change the zone-files of the authoritative nameserver. > That's all I need to know, basically: how to set up a Virtual Host. It would be appeciated, if possible, not to be directed to documents concerning this issue unless they are very to the point and concerning directly my questions. I haven't found a http://www.freebsd.org article like this for Virtual Hosts. man, are you ready to do anything on your own ? Malte. > > *Whew* that was long :) > > Thanks > nk99@microtec.net > > > > > > > > >
Hello,
>
 
>
    Normally I wouldn't e-mail > you about this but in this situation I'm very desperate. Being very new to > FreeBSD (been using Linux for a while), I don't know too much about it. I've > been searching all over the web and asking this question in all kinds of mIRC > channels without much help for hours. I really need your help.
>
   My question: My host is > noc.panthernet.com, running FreeBSD 2.2.5 . I'm the sysadmin, and I've been > asked by the root to set up some virtual hosts. I've got my IP block, and I'd > like to get started.  Unfortunately, I've been going no where for hours. >
>
  Question one: How do I setup IP 1.2.3.5 > to be a virtual host to 1.2.3.4 (that is to say telnetting to 1.2.3.5 would > bring up 1.2.3.4, a virtual host). I know it has something to do with ifconfig, > but I'm stumped.
>
  Question two: Once IP 1.2.3.5 has been > setup, how do I give it a hostname (host.panthernet.com)? I've added an entry to > /etc/hosts, but it didn't work, I don't think, since it doesn't DNS > resolve.
>
   That's all I need to know, > basically: how to set up a Virtual Host. It would be appeciated, if possible, > not to be directed to documents concerning this issue unless they are very to > the point and concerning directly my questions. I haven't found a href="http://www.freebsd.org">http://www.freebsd.org article like this for > Virtual Hosts.
>
 
>
*Whew* that was long :)
>
 
>
Thanks
> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message