Date: Tue, 28 Jul 1998 00:18:57 -0400 From: "nk99" <nk99@microtec.net> To: <freebsd-questions@FreeBSD.ORG> Subject: ifconfig - vhosts - help! Message-ID: <005a01bdb9de$d785f280$34b4a98e@default>
next in thread | raw e-mail | index | archive | help
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 <!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN"> <HTML> <HEAD> <META content=3Dtext/html;charset=3Diso-8859-1 = http-equiv=3DContent-Type> <META content=3D'"MSHTML 4.72.2106.6"' name=3DGENERATOR> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT color=3D#000000 size=3D2>Hello,</FONT></DIV> <DIV><FONT color=3D#000000 size=3D2></FONT> </DIV> <DIV><FONT color=3D#000000 size=3D2> 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.</FONT></DIV> <DIV><FONT color=3D#000000 size=3D2> 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 </FONT></DIV> <DIV><FONT color=3D#000000 size=3D2> 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.</FONT></DIV> <DIV><FONT color=3D#000000 size=3D2> 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.</FONT></DIV> <DIV><FONT color=3D#000000 size=3D2> 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 <A=20 href=3D"http://www.freebsd.org">http://www.freebsd.org</A> article like = this for=20 Virtual Hosts.</FONT></DIV> <DIV><FONT color=3D#000000 size=3D2></FONT> </DIV> <DIV><FONT color=3D#000000 size=3D2>*Whew* that was long :)</FONT></DIV> <DIV><FONT color=3D#000000 size=3D2></FONT> </DIV> <DIV><FONT color=3D#000000 size=3D2>Thanks </FONT></DIV> <DIV><FONT color=3D#000000 size=3D2><A=20 href=3D"mailto:nk@microtec.net">nk99@microtec.net</A></FONT></DIV></BODY>= </HTML> ------=_NextPart_000_0057_01BDB9BD.4F927E00-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?005a01bdb9de$d785f280$34b4a98e>