[Xitami] web server w/ router (again)

Charles Schmidling xitami@lists.xitami.org
Thu, 29 Jan 2004 12:08:44 -0800


This is a multi-part message in MIME format.

------=_NextPart_000_0010_01C3E660.A44C0440
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Chestnut,

Entering your external IP WILL access your web site, even when typed at =
the server (just tested it).  Your access.log file will show your =
gateway address (in Steve's case 192.168.1.1) instead of the usual =
external access IP.  Sometimes, in my instance anyway, you have to enter =
the "http://" along with the IP.  But ... if virtual hosting is active =
and there's nothing at base host, then you get nothing.

I don't understand why it doesn't work the same as my operation.  For =
the sake of comparison:

Router is a Linksys BEFW11S4 wireless 4-port (first version, nearly 2 =
years old)
Router's address is changed to 10.168.1.1 and is also the gateway
Subnet mask is 255.255.248.0 (I don't know why)
DHCP services are on with addresses starting at 10.168.1.100
DMZ Host is set to 10.168.1.50 (notice outside DHCP territory but =
shouldn't matter)
    (*I have tried Port Forward and that works slick too!)

Computer is a hand-me-down P166 that I just upped the mem to 256MB; =
3.25GB HD.
Running a Xitami 2.5c1 console (xidos.exe) in a DOS windows on Windows =
98SE (does service work?)
HTTP port is changed to 1975 and FTP is disabled
Virtual Host is active (and actually working) but base host is blank.
Server is manually configure to 10.168.1.50
Gateway is entered as 10.168.1.1 along with subnet mask 255.255.255.0
DNS IPs are also entered manually and can be found on the router's =
Status page
Other servers installed: Fictional Daemon (FTP and Telnet) and Mercury =
Mail
Also on board: MySQL and PHP

I think that's all.  Hope this is useful.

Charles
www.puuaukuu.net

----- Original Message -----=20
  From: Chestnut=20
  To: xitami@lists.xitami.org=20
  Sent: Thursday, January 29, 2004 7:59 AM
  Subject: Re: [Xitami] web server w/ router (again)


  Steve, do you mean that you enter 24.209.120.13 when within your own =
network, if so that will not work, need to be on the outside, another =
computer accessing from somewhere other than your own place. The setup =
appears to be fine. I accessed your site at 24... and it loads fine. =
Even went to the link on The ORIGINAL DARWIN... and it loads, went to =
one of the links from there, fine. It appears to me that your setup is =
working as you want it to. I would say you are doing nothing wrong.
  Patrick
    ----- Original Message -----=20
    From: Steven L. Haas=20
    To: xitami@lists.xitami.org=20
    Sent: Wednesday, January 28, 2004 12:43 AM
    Subject: [Xitami] web server w/ router (again)


    Ive posted a couple of times now about trying to run the xitami web =
server from my computer.  It's set up pn a broadband connection that is =
shared with a Linksys router between two computers.  I set this computer =
(Windows XP)  to have a manual IP of 192.168.1.2  (the router's IP is =
192.168.1.1) with the subnet mask being set to 255.255.255.0, the =
default gateway as 192.168.1.1.  When I ran ipconfig/all I got 3 DNS =
numbers and put the first two in as my primary and alternate DNS =
servers.  I then set the router up in the advanced/DMZ HOST IP ADDRESS =
to be 192.168.1.2 and turned the Xitami web server on.  When I enter =
http://192.168.1.1 into the browser it goes to the router set-up, which =
is good.  When I try to access pages on the internet, it works, which is =
good.  When I enter http://192.168.1.2 it loads the index.html page I =
put in the Xitami server folder, which is great.  Here's the problem, =
however... when I look up my IP address online (the one assigned to me =
via my ISP) I get 24.209.120.13.  When I enter http://24.209.120.13 into =
my browser, I get nothing, which is bad.  It seems that I have =
everything set up right and straightened out, but I still cant get =
access to the web site Im trying to host from this computer.  What am I =
doing wrong, or what else can I do?  
------=_NextPart_000_0010_01C3E660.A44C0440
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4934.1600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>Chestnut,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Entering your external IP&nbsp;WILL access your web&nbsp;site, even =
when=20
typed at the server (just tested it).&nbsp; Your access.log file will =
show your=20
gateway address (in Steve's case 192.168.1.1) instead of the usual =
external=20
access IP.&nbsp; Sometimes, in my instance anyway, you have to enter the =

"http://" along with the IP.&nbsp; But ...&nbsp;if virtual hosting is =
active and=20
there's nothing at base host, then you get nothing.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I don't understand why it doesn't work the same as my =
operation.&nbsp; For=20
the sake of comparison:</DIV>
<DIV>&nbsp;</DIV>
<DIV>Router is a Linksys BEFW11S4 wireless 4-port (first version, nearly =
2 years=20
old)</DIV>
<DIV>Router's address is changed to 10.168.1.1 and is also the =
gateway</DIV>
<DIV>Subnet mask is 255.255.248.0 (I don't know why)</DIV>
<DIV>DHCP services are on with addresses starting at 10.168.1.100</DIV>
<DIV>DMZ Host is set to 10.168.1.50 (notice outside DHCP territory but =
shouldn't=20
matter)</DIV>
<DIV>&nbsp;&nbsp;&nbsp; (*I have tried Port Forward and that works slick =

too!)</DIV>
<DIV>&nbsp;</DIV>
<DIV>Computer is a hand-me-down P166 that I just upped the mem to 256MB; =
3.25GB=20
HD.</DIV>
<DIV>Running a Xitami 2.5c1 console (xidos.exe) in a DOS windows on =
Windows 98SE=20
(does service work?)</DIV>
<DIV>HTTP port is changed to 1975 and FTP is disabled</DIV>
<DIV>Virtual Host is active (and actually working) but base host is =
blank.</DIV>
<DIV>Server is manually configure to 10.168.1.50</DIV>
<DIV>Gateway&nbsp;is entered as 10.168.1.1 along with subnet&nbsp;mask=20
255.255.255.0</DIV>
<DIV>DNS IPs are&nbsp;also entered manually and can be found on=20
the&nbsp;router's&nbsp;Status page</DIV>
<DIV>Other servers installed: Fictional Daemon (FTP and Telnet) and =
Mercury=20
Mail</DIV>
<DIV>Also on board: MySQL and PHP</DIV>
<DIV>&nbsp;</DIV>
<DIV>I think that's all.&nbsp; Hope this is useful.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Charles</DIV>
<DIV><A href=3D"http://www.puuaukuu.net">www.puuaukuu.net</A></DIV>
<DIV>&nbsp;</DIV>
<DIV>----- Original Message ----- </DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Dchestnut@willapabay.org=20
  href=3D"mailto:chestnut@willapabay.org">Chestnut</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Dxitami@lists.xitami.org=20
  href=3D"mailto:xitami@lists.xitami.org">xitami@lists.xitami.org</A> =
</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Thursday, January 29, =
2004 7:59=20
  AM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Re: [Xitami] web =
server w/=20
  router (again)</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=3DArial size=3D2>Steve, do you mean that you enter =
24.209.120.13=20
  when within your own network, if so that will not work, need to be on =
the=20
  outside, another computer accessing from somewhere other than your own =
place.=20
  The setup appears to be fine. I accessed your site at 24... and it =
loads fine.=20
  Even went to the link on The ORIGINAL DARWIN... and it loads, went to =
one of=20
  the links from there, fine. It appears to me that your setup is =
working as you=20
  want it to. I would say you are doing nothing wrong.</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>Patrick</FONT></DIV>
  <BLOCKQUOTE dir=3Dltr=20
  style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
    <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
    <DIV=20
    style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
    <A title=3Dslhaas99@hotmail.com =
href=3D"mailto:slhaas99@hotmail.com">Steven L.=20
    Haas</A> </DIV>
    <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Dxitami@lists.xitami.org=20
    href=3D"mailto:xitami@lists.xitami.org">xitami@lists.xitami.org</A> =
</DIV>
    <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Wednesday, January 28, =
2004 12:43=20
    AM</DIV>
    <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [Xitami] web server =
w/ router=20
    (again)</DIV>
    <DIV><BR></DIV>
    <DIV><FONT face=3DArial size=3D2>Ive posted a couple of times now =
about trying=20
    to run the xitami web server from my computer.&nbsp; It's set up pn =
a=20
    broadband connection that is shared with a Linksys router between =
two=20
    computers.&nbsp; I set this computer (Windows XP) &nbsp;to have a =
manual IP=20
    of 192.168.1.2&nbsp; (the router's IP is 192.168.1.1) with the =
subnet mask=20
    being set to 255.255.255.0, the default gateway as =
192.168.1.1.&nbsp; When I=20
    ran ipconfig/all I got 3 DNS numbers and put the first two in as my =
primary=20
    and alternate DNS servers.&nbsp; I then set the router up in the=20
    advanced/DMZ HOST IP ADDRESS to be 192.168.1.2 and turned the Xitami =
web=20
    server on.&nbsp; When I enter <A=20
    href=3D"http://192.168.1.1">http://192.168.1.1</A> into the browser =
it goes to=20
    the router set-up, which is good.&nbsp; When I try to access pages =
on the=20
    internet, it works, which is good.&nbsp; When I enter <A=20
    href=3D"http://192.168.1.2">http://192.168.1.2</A> it loads the =
index.html=20
    page I put in the Xitami server folder, which is great.&nbsp; Here's =
the=20
    problem, however... when I look up my IP address online (the one =
assigned to=20
    me via my ISP) I get 24.209.120.13.&nbsp; When I enter <A=20
    href=3D"http://24.209.120.13">http://24.209.120.13</A>&nbsp;into my =
browser, I=20
    get nothing, which is bad.&nbsp; It seems that I have everything set =
up=20
    right and straightened out, but I still cant get access to the web =
site Im=20
    trying to host from this computer.&nbsp; What am I doing wrong, or =
what else=20
    can I do?&nbsp; =
</FONT></DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0010_01C3E660.A44C0440--