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>
index | next in thread | raw e-mail
[-- Attachment #1 --]
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 http://www.freebsd.org article like this for Virtual Hosts.
*Whew* that was long :)
Thanks
nk99@microtec.net
[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>
<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<META content='"MSHTML 4.72.2106.6"' name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT color=#000000 size=2>Hello,</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT> </DIV>
<DIV><FONT color=#000000 size=2> 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.</FONT></DIV>
<DIV><FONT color=#000000 size=2> 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.
</FONT></DIV>
<DIV><FONT color=#000000 size=2> 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.</FONT></DIV>
<DIV><FONT color=#000000 size=2> 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.</FONT></DIV>
<DIV><FONT color=#000000 size=2> 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 <A
href="http://www.freebsd.org">http://www.freebsd.org</A> article like this for
Virtual Hosts.</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT> </DIV>
<DIV><FONT color=#000000 size=2>*Whew* that was long :)</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT> </DIV>
<DIV><FONT color=#000000 size=2>Thanks </FONT></DIV>
<DIV><FONT color=#000000 size=2><A
href="mailto:nk@microtec.net">nk99@microtec.net</A></FONT></DIV></BODY></HTML>
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?005a01bdb9de$d785f280$34b4a98e>
