[Xitami] DNS and VHosting

Russel Olinger xitami@lists.xitami.org
Tue, 11 Jun 2002 02:32:19 -0700


This is a multi-part message in MIME format.

------=_NextPart_000_00E6_01C210F0.35B56130
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

hhhhmmmm, well I was expecting to get help on my issue - not give help =
on my issue.  But oh well.  Basically I collocate my server at an ISP.  =
My server has 4 IP addresses:=20

.42 =3D Primary Server address, Primary DNS address
.43 =3D All domains use this address as the email server
.44 =3D All domains use this address as the web address
.45 =3D All domains use this address as the FTP address

Because I host my own DNS I can add as many domains as I want.  My =
provider simply does secondary DNS.  Each domain only has 3 address: www =
(.44), ftp (.45), mail (.43).  My suggestion to you is to host your own =
DNS and have your ISP host secondary - that way you can host as many =
domains as you need.  You probably only get 1 IP address via your DSL =
line - but you can still setup everything I listed above on the same IP =
address (I just happen to have 4 IP addresses, so I decided to use them =
all)

When hosting your own DNS - remember that each IP address can only have =
ONE reverse (PTR) record - that is IP to DNS name.  But you can assign =
as many names to an IP address, aka, a forward (A) record.

Example:, assuming domain1 is the primary domain of the server
Forward Zone:
    www.domain1.com    A    192.168.10.10
    www.domain2.com    A    192.168.10.10
    www.domain3.com    A    192.168.10.10
    ...
    ...
    www.domain100.com    A    192.168.10.10

Reverse Zone:
    192.168.10.10    PTR    www.domain1.com


If you are unable to host your own DNS then I recommend you view the =
previous postings with subject line: DNS
<snip> Quoting Greg Hart:
DNS
>>For DNS, try zoneedit.com, which is free for the first 5 domains, or =
try the Dynamic DNS service list from=20
>> http://directupdate.net/links.html You can also search for 'free DNS' =
on the internet.
>>-Greg

<snip>

So, your provider allows you to host 6 domains, the above will allow at =
least 5 more. =20

NOW, if someone could answer my question I would be pleased as punch.

-Russel

----- Original Message -----=20
  From: Studio 4=20
  To: xitami@lists.xitami.org=20
  Sent: Monday, June 10, 2002 11:03 PM
  Subject: RE: [Xitami] DNS and VHosting


  Hi Russell,
  =20
  Your message intrigues me. I run Xitami Pro and host about 6 sites, 4 =
of them my own. I am on a DSL line and the company I have it through =
will not let me have any more. Mabry I am wet behind the ears ( I am =
when it comes to computers) but are you having several different domaine =
names on the same IP addresses? If I am wrong. please let me know, and =
If you are, will you tell me how it is done? but in plain language.=20
  =20
  Karsten
    -----Original Message-----
    From: xitami-admin@lists.xitami.org =
[mailto:xitami-admin@lists.xitami.org]On Behalf Of Russel Olinger
    Sent: Monday, June 10, 2002 6:43 PM
    To: xitami@lists.xitami.org
    Subject: [Xitami] DNS and VHosting




    I am hosting about 10 different domains via DNS virtual hosting.

    All my sites work properly.  However, several of the sites send =
auto-emails from forms and so forth.  When the email comes in, the =
Header info shows the email coming from a different web server.

    Is there anyway to get the header info, using Xitami or DNS, that =
can get the correct DNS name. =20
    =20
    Example:
    in-addr.arpa file:=20
    66.172.2.44    PTR    www.kdralumni.com
    66.172.2.44    PTR    www.swellegantvintage.com
    66.172.2.44    PTR    www.carpe-dm.com
    66.172.2.44    PTR    www.ripandburn.com

    The script I am running for the auto email comes from the =
www.carpe-dm.com site, however, the email header shows the site that =
connected to the mail server was: www.kdralumni.com .   Technically, you =
are only supposed to have one PTR record for an IP address (in this =
case, it was using the first one in the list), you can have many A =
records though.

    Once I deleted the PTR record for kdraumni.com then the email header =
showed the connecting machine as the next one in the list: =
www.swellegantvintage.com machine.  Is there another way of doing this =
or tricking the email server so no matter which site generates the form =
and subsequent email that it reflects the correct DNS name (site name) =
that it came from?

    -Thanx in advance.



------=_NextPart_000_00E6_01C210F0.35B56130
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 content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3315.2870" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>hhhhmmmm, well I was expecting to get =
help on my=20
issue - not give help on my issue.&nbsp; But oh well.&nbsp; Basically I=20
collocate my server at an ISP.&nbsp; My server has 4 IP addresses: =
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>.42 =3D Primary Server address, Primary =
DNS=20
address</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>.43 =3D All domains use this address as =
the email=20
server</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>.44 =3D All domains use this address as =
the web=20
address</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>.45 =3D All domains use this address as =
the FTP=20
address</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Because I host my own DNS I can add as =
many domains=20
as I want.&nbsp; My provider simply does secondary DNS.&nbsp; Each =
domain only=20
has 3 address: www (.44), ftp (.45), mail (.43).&nbsp; My suggestion to =
you is=20
to host your own DNS and have your ISP host secondary - that way you can =
host as=20
many domains as you need.&nbsp; You probably only get 1 IP address via =
your DSL=20
line - but you can still setup everything I listed above on the same IP =
address=20
(I just happen to have 4 IP addresses, so I decided to use them=20
all)</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>When hosting your own DNS - remember =
that each IP=20
address can only have ONE reverse (PTR) record - that is IP to DNS =
name.&nbsp;=20
But you can assign as many names to an IP address, aka, a forward (A)=20
record.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Example:, assuming domain1 is the =
primary domain of=20
the server</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Forward Zone:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;<A=20
href=3D"http://www.domain1.com&nbsp;">www.domain1.com&nbsp;</A>&nbsp;&nbs=
p;=20
A&nbsp;&nbsp;&nbsp; 192.168.10.10</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; <A=20
href=3D"http://www.domain2.com">www.domain2.com</A>&nbsp;&nbsp;&nbsp;=20
A&nbsp;&nbsp;&nbsp; 192.168.10.10</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; <A=20
href=3D"http://www.domain3.com">www.domain3.com</A>&nbsp;&nbsp;&nbsp;=20
A&nbsp;&nbsp;&nbsp; 192.168.10.10</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; ...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; ...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; <A=20
href=3D"http://www.domain100.com">www.domain100.com</A>&nbsp;&nbsp;&nbsp;=
=20
A&nbsp;&nbsp;&nbsp; 192.168.10.10</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Reverse Zone:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; =
192.168.10.10&nbsp;&nbsp;&nbsp;=20
PTR&nbsp;&nbsp;&nbsp; <A=20
href=3D"http://www.domain1.com">www.domain1.com</A></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>If you are unable to host your own DNS =
then I=20
recommend you view the previous postings with subject line: =
DNS</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&lt;snip&gt; Quoting Greg =
Hart:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>DNS<BR>&gt;&gt;<FONT face=3DArial =
size=3D2>For DNS, try=20
zoneedit.com, which is free for the first 5&nbsp;domains, or try the =
Dynamic DNS=20
service list from </FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&gt;&gt; </FONT><FONT face=3DArial =
size=3D2><FONT=20
face=3DArial size=3D2><A=20
href=3D"http://directupdate.net/links.html">http://directupdate.net/links=
.html</A></FONT></FONT><FONT=20
face=3DArial size=3D2><FONT face=3DArial size=3D2>&nbsp;You can also =
search for 'free=20
DNS' on the internet.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&gt;&gt;-Greg</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&lt;snip&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>So, your provider allows you to host 6 domains, the above will =
allow at=20
least 5 more.&nbsp; </DIV>
<DIV>&nbsp;</DIV>
<DIV>NOW, if someone could answer my question I would be pleased as =
punch.</DIV>
<DIV>&nbsp;</DIV>
<DIV>-Russel</DIV>
<DIV>&nbsp;</DIV>
<DIV></FONT>----- Original Message ----- </DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: =
0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A href=3D"mailto:studio4@weddingbells.net"=20
  title=3Dstudio4@weddingbells.net>Studio 4</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20
  href=3D"mailto:xitami@lists.xitami.org"=20
  title=3Dxitami@lists.xitami.org>xitami@lists.xitami.org</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Monday, June 10, 2002 =
11:03=20
PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> RE: [Xitami] DNS and=20
  VHosting</DIV>
  <DIV><BR></DIV>
  <DIV><SPAN class=3D968595505-11062002><FONT color=3D#0000ff =
face=3DArial size=3D2>Hi=20
  Russell,</FONT></SPAN></DIV>
  <DIV><SPAN class=3D968595505-11062002><FONT color=3D#0000ff =
face=3DArial=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D968595505-11062002><FONT color=3D#0000ff =
face=3DArial size=3D2>Your=20
  message intrigues me. I run Xitami Pro and host about 6 sites, 4 of =
them my=20
  own. I am on a DSL line and the company I have it through will not let =
me have=20
  any more. Mabry I am wet behind the ears ( I am when it comes to =
computers)=20
  but are you having several different domaine names on the same IP =
addresses?=20
  If I am wrong. please let me know, and If you are, will you tell me =
how it is=20
  done? but in plain language. </FONT></SPAN></DIV>
  <DIV><SPAN class=3D968595505-11062002><FONT color=3D#0000ff =
face=3DArial=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D968595505-11062002><FONT color=3D#0000ff =
face=3DArial=20
  size=3D2>Karsten</FONT></SPAN></DIV>
  <BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
    <DIV align=3Dleft class=3DOutlookMessageHeader dir=3Dltr><FONT =
face=3DTahoma=20
    size=3D2>-----Original Message-----<BR><B>From:</B>=20
    xitami-admin@lists.xitami.org =
[mailto:xitami-admin@lists.xitami.org]<B>On=20
    Behalf Of </B>Russel Olinger<BR><B>Sent:</B> Monday, June 10, 2002 =
6:43=20
    PM<BR><B>To:</B> xitami@lists.xitami.org<BR><B>Subject:</B> [Xitami] =
DNS and=20
    VHosting<BR><BR></FONT></DIV>
    <DIV><BR></DIV>
    <DIV><FONT face=3DArial size=3D2>I am hosting about 10 different =
domains via DNS=20
    virtual hosting.</FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>All my sites work properly.&nbsp; =
However,=20
    several of the sites send auto-emails from forms and so forth.&nbsp; =
When=20
    the email comes in, the Header info shows the email coming from a =
different=20
    web server.</FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>Is there anyway to get the header =
info, using=20
    Xitami or DNS, that can get the correct DNS name.&nbsp; =
</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>Example:</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2>in-addr.arpa file: </FONT></DIV>
    <DIV><FONT face=3DArial size=3D2>66.172.2.44&nbsp;&nbsp;&nbsp;=20
    PTR&nbsp;&nbsp;&nbsp; <A=20
    href=3D"http://www.kdralumni.com">www.kdralumni.com</A></FONT></DIV>
    <DIV><FONT face=3DArial size=3D2>66.172.2.44&nbsp;&nbsp;&nbsp;=20
    PTR&nbsp;&nbsp;&nbsp; <A=20
    =
href=3D"http://www.swellegantvintage.com">www.swellegantvintage.com</A></=
FONT></DIV>
    <DIV><FONT face=3DArial size=3D2>66.172.2.44&nbsp;&nbsp;&nbsp;=20
    PTR&nbsp;&nbsp;&nbsp; <A=20
    href=3D"http://www.carpe-dm.com">www.carpe-dm.com</A></FONT></DIV>
    <DIV><FONT face=3DArial size=3D2>66.172.2.44&nbsp;&nbsp;&nbsp;=20
    PTR&nbsp;&nbsp;&nbsp; <A=20
    =
href=3D"http://www.ripandburn.com">www.ripandburn.com</A></FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>The script I am running for the =
auto email=20
    comes from the <A =
href=3D"http://www.carpe-dm.com">www.carpe-dm.com</A> site,=20
    however, the email header shows the site that connected to the mail =
server=20
    was: <A href=3D"http://www.kdralumni.com">www.kdralumni.com</A> =
.&nbsp;&nbsp;=20
    Technically, you are only supposed to have one PTR record for an IP =
address=20
    (in this case, it was using the first one in the list), you can have =
many A=20
    records though.</FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>Once I deleted the PTR record for =
kdraumni.com=20
    then the email header showed the connecting machine as the next one =
in the=20
    list: <A=20
    =
href=3D"http://www.swellegantvintage.comarpe-dm.com">www.swellegantvintag=
e.com</A>=20
    machine.&nbsp; Is there another way of doing this or tricking the =
email=20
    server so no matter which site generates the form and subsequent =
email that=20
    it reflects the correct DNS name (site name) that it came =
from?</FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>-Thanx in advance.</FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV>&nbsp;</DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_00E6_01C210F0.35B56130--