[Xitami] xitami and domain name

Tom Baker xitami@lists.xitami.org
Mon, 23 Feb 2004 13:11:07 -0500


This is a multi-part message in MIME format.

------=_NextPart_000_0021_01C3FA0E.7F7CB030
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

  From: jglong3@att.net=20
  To: xitami@lists.xitami.org=20
  Sent: Monday, February 23, 2004 11:41 AM
  Subject: Re: [Xitami] xitami and domain name


  Hello Tom, :)

  Thanks for your time, help, and advise!!!!

  In your Reply for "xitami and domain name" you mentioned the =
following:

     "Depending on your network topology, have you=20
      checked that Xitami is bound to all IP's?"

  I have tried to find out how to "BIND Xitami to all IPs" using =
Searches on the Internet and the Xitami Document, but am not having any =
success.

You correctly set it in your previous message. I just used general =
terms.

  Could you please give an example or point me to a link/document that =
describes binding Xitami?


  FYI,,,,I am a novice user of Xitami. Just loaded it last week and all =
seems to be working as expected on a LAN using 8 PCs (W95 and W98SE). =
Xitami is on a W98SE and I am learning and testing using the HOSTS file =
at each PC to force Domain Names to the I
  P address of the PC where Xitami is installed.=20

  Hosts file example:


               xx.yy.zz.1  www.abc.com
               xx.yy.zz.1  www.def.com
                      etc.

  These are not registered Domain Names and are used for testing. =
However, when Xitami is configured to depend on registerd names via =
Virtual Hosting, I suspect that I will have the same problem as =
described by shing@walla.co.il.=20

  I thought that using a registered Domain Name should have worked =
within shing's LAN. If the Domain Name is not in the HOSTS file I =
thought it would be routed to the www database (HOSTS file) at the DNS =
Server which would then route it to shing's IP wher
  e Xitami is installed. That is what I thought(????). I have been away =
from the net a long time (circa 1975) and there is a lot I have to =
learn.
It should and does work as you described.=20

  BTW,,,,, all my PCs are behind a router with the NAT firewall, so I =
may also have to expose the Xitami PC to the Internet when Xitami is =
configured to start using registerd Domain Names(???).

  Thanks again for your time, help and advise!!!

  Jerry :)
You can have Xitami behind the firewall. You have to configure the =
router to pass all traffic for port 80 to the PC running Xitami.

Here's how the request process should work:
Someone far away requests www.yourdomain.com. The appropriate DNS =
servers hand back www.yourdomain.com =3D 192.168.0.1 (These addresses =
are made up for this discussion). A request to port 80 of 192.168.0.1 =
for www.yourdomain.com is made, and Xitami returns the webpage.
If you are running more than one domain name on Xitami, Xitami Virtual =
hosts will recognise which domain is being asked for, and supplies it.

So now let's say you want to access the website from inside your =
network. You type is www.yourdomain.com. an appropriate outside DNS =
server hands back www.yourdomain.com =3D 192.168.0.1. Your PC says "Hey! =
That's only one PC away from me!" And connect directly to it.

As you can see, it's exactly the same mechanism for being inside the =
network or outside the network.

So what we are dealing with here is some other problem. If all the above =
works from the outside, but not the inside, it is almost certainly a =
firewall problem.
If you are having problems with both the outside and the inside, it =
could be either DNS not configured properly, firewall not configured =
properly, or Xitami not configured properly.

Hope this helps,
Tom

------=_NextPart_000_0021_01C3FA0E.7F7CB030
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 6.00.2800.1400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<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=3Djglong3@att.net =
href=3D"mailto:jglong3@att.net">jglong3@att.net</A>=20
  </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> Monday, February 23, 2004 =
11:41=20
  AM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Re: [Xitami] xitami =
and domain=20
  name</DIV>
  <DIV><BR></DIV>
  <DIV>Hello Tom, :)<BR><BR>Thanks for your time, help, and =
advise!!!!<BR><BR>In=20
  your Reply for "xitami and domain name" you mentioned the=20
  following:<BR><BR>&nbsp;&nbsp; "Depending on your network topology, =
have you=20
  <BR>&nbsp;&nbsp;&nbsp; checked that Xitami is bound to all =
IP's?"<BR><BR>I=20
  have tried to find out how to "BIND Xitami to all IPs" using Searches =
on the=20
  Internet and the Xitami Document, but am not having any=20
success.<BR></DIV></BLOCKQUOTE>
<DIV dir=3Dltr>You correctly set it in your previous message. I just =
used general=20
terms.</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><BR>Could you please give an example or point me to a =
link/document that=20
  describes binding Xitami?<BR><BR><BR>FYI,,,,I am a novice user of =
Xitami. Just=20
  loaded it last week and all seems to be working as expected on a LAN =
using 8=20
  PCs (W95 and W98SE). Xitami is on a W98SE and I am learning and =
testing using=20
  the HOSTS file at each PC to force Domain Names to the I<BR>P address =
of the=20
  PC where Xitami is installed. <BR><BR>Hosts file=20
  =
example:<BR><BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;=20
  xx.yy.zz.1&nbsp;=20
  =
www.abc.com<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;=20
  xx.yy.zz.1&nbsp;=20
  =
www.def.com<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  etc.<BR><BR>These are not registered Domain Names and are used for =
testing.=20
  However, when Xitami is configured to depend on registerd names via =
Virtual=20
  Hosting, I suspect that I will have the same problem as described by=20
  shing@walla.co.il. <BR><BR>I thought that using a registered Domain =
Name=20
  should have worked within shing's LAN. If the Domain Name is not in =
the HOSTS=20
  file I thought it would be routed to the www database (HOSTS file) at =
the DNS=20
  Server which would then route it to shing's IP wher<BR>e Xitami is =
installed.=20
  That is what I thought(????). I have been away from the net a long =
time (circa=20
  1975) and there is a lot I have to learn.</DIV></BLOCKQUOTE>
<DIV dir=3Dltr>It should and does work as you described. </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>&nbsp;</DIV>
  <DIV>BTW,,,,, all my PCs are behind a router with the NAT firewall, so =
I may=20
  also have to expose the Xitami PC to the Internet when Xitami is =
configured to=20
  start using registerd Domain Names(???).<BR><BR>Thanks again for your =
time,=20
  help and advise!!!<BR><BR>Jerry :)</DIV></BLOCKQUOTE>
<DIV dir=3Dltr>You can have Xitami behind the firewall. You have to =
configure the=20
router to pass all traffic for port 80 to the PC running Xitami.</DIV>
<DIV dir=3Dltr>&nbsp;</DIV>
<DIV dir=3Dltr>Here's how the request process should work:</DIV>
<DIV dir=3Dltr>Someone far away requests <A=20
href=3D"http://www.yourdomain.com">www.yourdomain.com</A>. The =
appropriate DNS=20
servers hand back <A =
href=3D"http://www.yourdomain.com">www.yourdomain.com</A> =3D=20
192.168.0.1 (These addresses are made up for this discussion). A request =
to port=20
80 of 192.168.0.1 for <A=20
href=3D"http://www.yourdomain.com">www.yourdomain.com</A>&nbsp;is made, =
and Xitami=20
returns the webpage.</DIV>
<DIV dir=3Dltr>If you are running more than one domain name on Xitami, =
Xitami=20
Virtual hosts will recognise which domain is being asked for, and =
supplies=20
it.</DIV>
<DIV dir=3Dltr>&nbsp;</DIV>
<DIV dir=3Dltr>So now let's say you want to access the website from =
inside your=20
network. You type is <A =
href=3D"http://www.yourdomain.com">www.yourdomain.com</A>.=20
an appropriate outside DNS server hands back <A=20
href=3D"http://www.yourdomain.com">www.yourdomain.com</A> =3D =
192.168.0.1. Your PC=20
says "Hey! That's only one PC away from me!" And connect directly to =
it.</DIV>
<DIV dir=3Dltr>&nbsp;</DIV>
<DIV dir=3Dltr>As you can see, it's exactly the same mechanism for being =
inside=20
the network or outside the network.</DIV>
<DIV dir=3Dltr>&nbsp;</DIV>
<DIV dir=3Dltr>So what we are dealing with here is some other problem. =
If all the=20
above works from the outside, but not the inside, it is almost certainly =
a=20
firewall problem.</DIV>
<DIV dir=3Dltr>If you are having problems with both the outside and the =
inside, it=20
could be either DNS not configured properly, firewall not configured =
properly,=20
or Xitami not configured properly.</DIV>
<DIV dir=3Dltr>&nbsp;</DIV>
<DIV dir=3Dltr>Hope this helps,</DIV>
<DIV dir=3Dltr>Tom</DIV>
<DIV dir=3Dltr>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0021_01C3FA0E.7F7CB030--