From owner-freebsd-questions Mon Jul 27 21:17:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA27327 for freebsd-questions-outgoing; Mon, 27 Jul 1998 21:17:46 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from iceberg.quebectel.com (iceberg.quebectel.com [142.169.1.82]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA27321 for ; Mon, 27 Jul 1998 21:17:32 -0700 (PDT) (envelope-from nk99@microtec.net) Received: from default (ts1-42.f3213.quebectel.com [142.169.180.52]) by iceberg.quebectel.com (8.8.5/8.8.5) with SMTP id AAA28324 for ; Tue, 28 Jul 1998 00:17:00 -0400 (EDT) Message-ID: <005a01bdb9de$d785f280$34b4a98e@default> Reply-To: "nk99" From: "nk99" To: Subject: ifconfig - vhosts - help! Date: Tue, 28 Jul 1998 00:18:57 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0057_01BDB9BD.4F927E00" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.2106.4 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0057_01BDB9BD.4F927E00 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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.=20 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 http://www.freebsd.org article = like this for Virtual Hosts. *Whew* that was long :) Thanks=20 nk99@microtec.net ------=_NextPart_000_0057_01BDB9BD.4F927E00 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello,
 
    Normally I = wouldn't e-mail=20 you about this but in this situation I'm very desperate. Being very new = to=20 FreeBSD (been using Linux for a while), I don't know too much about it. = I've=20 been searching all over the web and asking this question in all kinds of = mIRC=20 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=20 asked by the root to set up some virtual hosts. I've got my IP block, = and I'd=20 like to get started.  Unfortunately, I've been going no where for = hours.=20
  Question one: How do I setup = IP 1.2.3.5=20 to be a virtual host to 1.2.3.4 (that is to say telnetting to 1.2.3.5 = would=20 bring up 1.2.3.4, a virtual host). I know it has something to do with = ifconfig,=20 but I'm stumped.
  Question two: Once IP 1.2.3.5 = has been=20 setup, how do I give it a hostname (host.panthernet.com)? I've added an = entry to=20 /etc/hosts, but it didn't work, I don't think, since it doesn't DNS=20 resolve.
   That's all I need to = know,=20 basically: how to set up a Virtual Host. It would be appeciated, if = possible,=20 not to be directed to documents concerning this issue unless they are = very to=20 the point and concerning directly my questions. I haven't found a http://www.freebsd.org article like = this for=20 Virtual Hosts.
 
*Whew* that was long :)
 
Thanks
nk99@microtec.net
= ------=_NextPart_000_0057_01BDB9BD.4F927E00-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message