[Xitami] Running server through a router

Real Martel xitami@lists.xitami.org
Wed, 31 Dec 2003 19:19:09 -0700


This is a multi-part message in MIME format.

--Boundary_(ID_DIN3deeMOceEDyNs80NBcQ)
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 7BIT

Hi Steve,

Maybe it would be best to really understand what your router does for you.
I'm not familiar with the Linksys, I personally have D-Link. So details may
vary, but the jist of the story should be fairly familiar.  I am, by no
means, an expert, but here's my take on it.

When someone sends a request to your domain name, say www.mydomain.com, it
really goes to an IP number, connected to the internet, say, 24.86.62.150
(don't try this address, I just made it up). Now, that would be, in our
example, the IP address of your router.

What your router does with that request, is that it looks up in its list of
information to see if the requests for the port specified should be
redirected somewhere. So let's assume this was a webpage request, on port
80. Your router needs to know to which computer to forward that request. So
say it goes to your computer at 192.168.0.121. The router will take that ip
packet, and forward it to that "behind the wall" address to be dealt with.

What you need to tell your router, is that whenever there is a packet coming
in for port 80 (the standard port for web servers), it needs to be forwarded
to 192.168.0.121 (or whichever LAN IP number your computer has.

I hope this is helping you.

Cheers,

Real Martel

  -----Original Message-----
  From: xitami-admin@lists.xitami.org
[mailto:xitami-admin@lists.xitami.org]On Behalf Of Steven L. Haas
  Sent: Wednesday, December 31, 2003 7:00 PM
  To: xitami@lists.xitami.org
  Subject: Re: [Xitami] Running server through a router


  Thanks... I'm sorry to be an uninformed newbie & keep asking questions,
but would it be possible for you to explain to me how to do this, or what I
should do exactly?  I understand computers & the internet fairly well, but
I'm pretty new to networking.  I found a place in my router's configuration
page to forward ports, etc., but I don't know what I'm doing once I get
there.  I also dont know how to assign an internal IP address, or what to do
with it once that's been done.

  Thanks again for the help,
  Steve
    ----- Original Message -----
    From: Day Tooley
    To: xitami@lists.xitami.org
    Sent: Wednesday, December 31, 2003 12:30 PM
    Subject: Re: [Xitami] Running server through a router


    Looks like you will need to port-forward port 80 in your router to your
Windows hosting machine.  Also, you will need to permanently assign an
internal IP address to your hosting machine.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Day Tooley
    Webfoot@EasyStreet.com

    When the game is over, both the king and the pawn are put into the same
box.


      ----- Original Message -----
      From: Steven L. Haas
      To: xitami@lists.xitami.org
      Sent: Wednesday, December 31, 2003 7:00 AM
      Subject: [Xitami] Running server through a router


      I am trying to run the Xitami web server on my WIndows XP machine that
is connected to the internet via a cable modem (RoadRunner/Motorola
Surboard).  The internet connection is split amongst 2 computers using a
Linksys router.  When I start the web server everything seems fine, but when
I try to access the web page I have loaded on the server by connecting to my
internet connection's (cable modem) IP address, I am directed to the
router's configuration page.  This also happens when the server is turned
off, so it's not a big suprise.  What is odd is that when I try to connect
to the router's config page by entering the router's default IP address into
IE, I am not taken to the config page as usual, but I'm instead directed to
the web page I have installed on the Xitami web server.  When the web server
is turned off I go straight to the config page as expected.  It seems like
somehow the router's IP is bouncing me back from the router to the computer
with the server installed, and the cable modem's (internet connection) IP is
forwarding straight to the router and never reaching the computer with the
server installed.  I assume this is a relatively simple fix for any of you
that are knowledgeable with networks, but I can't figure out what to do to
fix this & make it work with my set up.  I also cant run the server and a
file sharing program like KazaA or WinMX.  Is there a way to allow for these
programs and the server to all run together harmoniously?  Thanks in advance
for any help, and I apologize if this question has already been beaten to
death.

      Steve
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.557 / Virus Database: 349 - Release Date: 12/30/03

--Boundary_(ID_DIN3deeMOceEDyNs80NBcQ)
Content-type: text/html; charset=iso-8859-1
Content-transfer-encoding: 7BIT

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1276" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=040381302-01012004><FONT face=Arial color=#0000ff size=2>Hi 
Steve,</FONT></SPAN></DIV>
<DIV><SPAN class=040381302-01012004><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=040381302-01012004><FONT face=Arial color=#0000ff size=2>Maybe 
it would be best to really understand what your router does for you.&nbsp; I'm 
not familiar with the Linksys, I personally have D-Link. So details may vary, 
but the jist of the story should be fairly familiar.&nbsp; I am, by no means, an 
expert, but here's my take on it.</FONT></SPAN></DIV>
<DIV><SPAN class=040381302-01012004><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=040381302-01012004><FONT face=Arial color=#0000ff size=2>When 
someone sends a request to your domain name, say </FONT><A 
href="http://www.mydomain.com"><FONT face=Arial 
size=2>www.mydomain.com</FONT></A><FONT face=Arial color=#0000ff 
size=2>,&nbsp;</FONT></SPAN><SPAN class=040381302-01012004><FONT face=Arial 
color=#0000ff size=2>it really goes to an IP number, connected to the internet, 
say, 24.86.62.150 (don't try this address, I just made it up). Now, that would 
be, in our example, the IP address of your router. </FONT></SPAN></DIV>
<DIV><SPAN class=040381302-01012004><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=040381302-01012004><FONT face=Arial color=#0000ff size=2>What 
your router does with that request, is that it looks up in its list of 
information to see if the requests for the port specified should be redirected 
somewhere. So let's assume this was a webpage request, on port 80. Your router 
needs to know to which computer to forward that request. So say it goes to your 
computer at 192.168.0.121. The router will take that ip packet, and forward it 
to that "behind the wall" address to be dealt with.</FONT></SPAN></DIV>
<DIV><SPAN class=040381302-01012004><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=040381302-01012004><FONT face=Arial color=#0000ff size=2>What 
you need to tell your router, is that whenever there is a packet coming in for 
port 80 (the standard port for web servers), it needs to be forwarded to 
192.168.0.121 (or whichever LAN IP number your computer has.</FONT></SPAN></DIV>
<DIV><SPAN class=040381302-01012004><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=040381302-01012004><FONT face=Arial color=#0000ff size=2>I hope 
this is helping you.</FONT></SPAN></DIV>
<DIV><SPAN class=040381302-01012004><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=040381302-01012004><FONT face=Arial color=#0000ff 
size=2>Cheers,</FONT></SPAN></DIV>
<DIV><SPAN class=040381302-01012004><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=040381302-01012004><FONT face=Arial color=#0000ff size=2>Real 
Martel</FONT></SPAN></DIV>
<DIV><SPAN class=040381302-01012004><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> 
  xitami-admin@lists.xitami.org [mailto:xitami-admin@lists.xitami.org]<B>On 
  Behalf Of </B>Steven L. Haas<BR><B>Sent:</B> Wednesday, December 31, 2003 7:00 
  PM<BR><B>To:</B> xitami@lists.xitami.org<BR><B>Subject:</B> Re: [Xitami] 
  Running server through a router<BR><BR></FONT></DIV>
  <DIV><FONT face=Arial size=2>Thanks... I'm sorry to be an uninformed newbie 
  &amp; keep asking questions, but would it be possible for you to explain to me 
  how to do this, or what I should do exactly?&nbsp; I understand computers 
  &amp; the internet fairly well, but I'm pretty new to networking.&nbsp; I 
  found a place in my router's configuration page to forward ports, etc., but I 
  don't know what I'm doing once I get there.&nbsp; I also dont know how to 
  assign an internal IP address, or what to do with it once that's been 
  done.</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Thanks again for the help,</FONT></DIV>
  <DIV><FONT face=Arial size=2>Steve</FONT></DIV>
  <BLOCKQUOTE dir=ltr 
  style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
    <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
    <DIV 
    style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
    <A title=webfoot@easystreet.com href="mailto:webfoot@easystreet.com">Day 
    Tooley</A> </DIV>
    <DIV style="FONT: 10pt arial"><B>To:</B> <A title=xitami@lists.xitami.org 
    href="mailto:xitami@lists.xitami.org">xitami@lists.xitami.org</A> </DIV>
    <DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, December 31, 2003 
    12:30 PM</DIV>
    <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Xitami] Running server 
    through a router</DIV>
    <DIV><FONT face=Arial color=#0000ff size=2></FONT><FONT face=Arial 
    color=#0000ff size=2></FONT><FONT face=Arial color=#0000ff 
    size=2></FONT><BR></DIV>
    <DIV>
    <DIV><FONT face=Arial size=2>Looks like you will need to port-forward port 
    80 in your router to your Windows hosting machine.&nbsp; Also, you will need 
    to permanently assign an internal IP address to your hosting 
    machine.</FONT></DIV>
    <DIV><FONT face=Arial color=#0000ff size=2></FONT><FONT face=Arial 
    color=#0000ff size=2></FONT><FONT face=Arial color=#0000ff 
    size=2></FONT><BR>~~~~~~~~~~~~~~~~~~~~~~~~~~~<BR>Day Tooley<BR><A 
    href="mailto:Webfoot@EasyStreet.com">Webfoot@EasyStreet.com</A></DIV></DIV>
    <DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
    <DIV>When the game is over, both the king and the pawn are put into the same 
    box.</DIV>
    <DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
    <BLOCKQUOTE dir=ltr 
    style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
      <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
      <DIV 
      style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
      <A title=slhaas99@hotmail.com href="mailto:slhaas99@hotmail.com">Steven L. 
      Haas</A> </DIV>
      <DIV style="FONT: 10pt arial"><B>To:</B> <A title=xitami@lists.xitami.org 
      href="mailto:xitami@lists.xitami.org">xitami@lists.xitami.org</A> </DIV>
      <DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, December 31, 2003 
      7:00 AM</DIV>
      <DIV style="FONT: 10pt arial"><B>Subject:</B> [Xitami] Running server 
      through a router</DIV>
      <DIV><BR></DIV>
      <DIV><FONT face=Arial size=2>I am trying to run the Xitami web server on 
      my WIndows XP machine that is connected to the internet via a cable modem 
      (RoadRunner/Motorola Surboard).&nbsp; The internet connection is split 
      amongst 2 computers using a Linksys router.&nbsp; When I start the web 
      server everything seems fine, but when I try to access the web page I have 
      loaded on the server by connecting to my internet connection's (cable 
      modem) IP address, I am directed to the router's configuration page.&nbsp; 
      This also happens when the server is turned off, so it's not a big 
      suprise.&nbsp; What is odd is that when I try to connect to the router's 
      config page by entering the router's default IP address into IE, I am not 
      taken to the config page as usual, but I'm instead directed to the web 
      page I have installed on the Xitami web server.&nbsp; When the web server 
      is turned off I go straight to the config page as expected.&nbsp; It seems 
      like somehow the router's IP is bouncing me back from the router to the 
      computer with the server installed, and the cable modem's (internet 
      connection) IP is forwarding straight to the router and never reaching the 
      computer with the server installed.&nbsp; I assume this is a 
      relatively&nbsp;simple fix for any of you that are knowledgeable with 
      networks, but I can't figure out what to do to fix this&nbsp;&amp; make it 
      work with my set up.&nbsp; I also cant run the server and a file sharing 
      program like KazaA or WinMX.&nbsp; Is there a way to allow for these 
      programs and the server to all run together harmoniously?&nbsp; Thanks in 
      advance for any help, and I apologize if this question has already been 
      beaten to death.</FONT></DIV>
      <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
      <DIV><FONT face=Arial 
size=2>Steve</FONT></DIV></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>

--Boundary_(ID_DIN3deeMOceEDyNs80NBcQ)--