[Xitami] DNS and VHosting
Russel Olinger
xitami@lists.xitami.org
Tue, 11 Jun 2002 11:22:12 -0700
This is a multi-part message in MIME format.
------=_NextPart_000_015F_01C2113A.3BC1B0C0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MessageI am running NT4.0, it has a built in DNS Server, otherwise you =
will have to find a 3rd party server software. I am going to be =
upgrading to Win2000 Server, it too, has a built in DNS Server.
When using the Configure VHost Option off the main menu - two of the =
first options off the first screen are:
Select IP address: All Addresses (recommended) //////// <- Use =
this option
OR, Enter DNS Host Name: __www.domain1.com______ //////<-- type in =
the full DNS name of the machine
Then in your DNS server:
1. Create the Primary Zone for domain1.com
2. Add a forward (A) record only for the above name:
www.domain1.com A 192.168.10.10 /////( or whatever the =
IP address of your machine is)
///// Be careful it doesn't auto create the PTR record, most DNS =
programs off the ability NOT to create the PTR record, but by default it =
will.
3. Contact your ISP and let them know you are adding a new primary =
Domain and they will need to pull secondary records from your Primary =
DNS server.
Can't be any more specific than that....
good luck.
----- Original Message -----=20
From: Kieran Mullen=20
To: 'Russel Olinger'=20
Sent: Tuesday, June 11, 2002 8:20 AM
Subject: RE: [Xitami] DNS and VHosting
Good morning,
=20
What do you use to run your DNS?
=20
How exactly do you configure Xitami for virtual hosting? I didn't see =
it in the directions but perhaps I missed it and it really is straight =
forward.
=20
Thanks
=20
Kieran Mullen
-----Original Message-----
From: xitami-admin@lists.xitami.org =
[mailto:xitami-admin@lists.xitami.org] On Behalf Of Russel Olinger
Sent: Tuesday, June 11, 2002 2:32 AM
To: xitami@lists.xitami.org
Subject: Re: [Xitami] DNS and VHosting
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
=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_015F_01C2113A.3BC1B0C0
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><TITLE>Message</TITLE>
<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>I am running NT4.0, it has a built in =
DNS Server,=20
otherwise you will have to find a 3rd party server software. I am =
going to=20
be upgrading to Win2000 Server, it too, has a built in DNS =
Server.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>When using the Configure VHost Option =
off the main=20
menu - two of the first options off the first screen are:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> Select IP=20
address: All Addresses (recommended) =
//////// <-=20
Use this option</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> OR, Enter DNS Host =
Name:=20
__www.domain1.com______ //////<-- type in the full DNS name of =
the=20
machine</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Then in your DNS server:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>1. Create the Primary Zone for=20
domain1.com</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>2. Add a forward (A) record only =
for the above=20
name:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> =
<A=20
href=3D"http://www.domain1.com">www.domain1.com</A> =20
A 192.168.10.10 /////( or whatever the IP =
address of=20
your machine is)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2> ///// Be careful it =
doesn't auto=20
create the PTR record, most DNS programs off the ability NOT to create =
the PTR=20
record, but by default it will.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>3. Contact your ISP and let them =
know you are=20
adding a new primary Domain and they will need to pull secondary records =
from=20
your Primary DNS server.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Can't be any more specific than=20
that....</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>good luck.</FONT></DIV>
<DIV> </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 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 href=3D"mailto:kieranmullen@instantnetworks.net"=20
title=3Dkieranmullen@instantnetworks.net>Kieran Mullen</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20
href=3D"mailto:rolinger@airpower.net" =
title=3Drolinger@airpower.net>'Russel=20
Olinger'</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Tuesday, June 11, 2002 =
8:20=20
AM</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Subject:</B> RE: [Xitami] DNS and=20
VHosting</DIV>
<DIV><BR></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D456111915-11062002>Good=20
morning,</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D456111915-11062002></SPAN></FONT> </DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D456111915-11062002>What=20
do you use to run your DNS?</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D456111915-11062002></SPAN></FONT> </DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D456111915-11062002>How=20
exactly do you configure Xitami for virtual hosting? I didn't =
see it in=20
the directions but perhaps I missed it and it really is straight=20
forward.</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D456111915-11062002></SPAN></FONT> </DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D456111915-11062002>Thanks</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D456111915-11062002></SPAN></FONT> </DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D456111915-11062002>Kieran Mullen</SPAN></FONT></DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV align=3Dleft class=3DOutlookMessageHeader dir=3Dltr =
lang=3Den-us><FONT=20
face=3DTahoma size=3D2>-----Original Message-----<BR><B>From:</B> <A =
=
href=3D"mailto:xitami-admin@lists.xitami.org">xitami-admin@lists.xitami.o=
rg</A>=20
[<A=20
=
href=3D"mailto:xitami-admin@lists.xitami.org">mailto:xitami-admin@lists.x=
itami.org</A>]=20
<B>On Behalf Of </B>Russel Olinger<BR><B>Sent:</B> Tuesday, June 11, =
2002=20
2:32 AM<BR><B>To:</B> xitami@lists.xitami.org<BR><B>Subject:</B> Re: =
[Xitami] DNS and VHosting<BR><BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>hhhhmmmm, well I was expecting to =
get help on=20
my issue - not give help on my issue. But oh well. =
Basically I=20
collocate my server at an ISP. My server has 4 IP addresses:=20
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </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> </DIV>
<DIV><FONT face=3DArial size=3D2>Because I host my own DNS I can add =
as many=20
domains as I want. My provider simply does secondary =
DNS. Each=20
domain only has 3 address: www (.44), ftp (.45), mail (.43). =
My=20
suggestion to you is to host your own DNS and have your ISP host =
secondary -=20
that way you can host as many domains as you need. You =
probably only=20
get 1 IP address via your DSL line - but you can still setup =
everything I=20
listed above on the same IP address (I just happen to have 4 IP =
addresses,=20
so I decided to use them all)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>When hosting your own DNS - =
remember that each=20
IP address can only have ONE reverse (PTR) record - that is IP to =
DNS=20
name. But you can assign as many names to an IP address, aka, =
a=20
forward (A) record.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Example:, assuming domain1 is the =
primary=20
domain of the server</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Forward Zone:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> <A=20
=
href=3D"http://www.domain1.com ">www.domain1.com </A> &nbs=
p;=20
A 192.168.10.10</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> <A=20
=
href=3D"http://www.domain2.com">www.domain2.com</A> =20
A 192.168.10.10</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> <A=20
=
href=3D"http://www.domain3.com">www.domain3.com</A> =20
A 192.168.10.10</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> ...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> ...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> <A=20
=
href=3D"http://www.domain100.com">www.domain100.com</A> =
=20
A 192.168.10.10</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Reverse Zone:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> =20
192.168.10.10 PTR <A=20
href=3D"http://www.domain1.com">www.domain1.com</A></FONT></DIV>
<DIV> </DIV>
<DIV> </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><snip> Quoting Greg =
Hart:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>DNS<BR>>><FONT face=3DArial =
size=3D2>For DNS,=20
try zoneedit.com, which is free for the first 5 domains, or try =
the=20
Dynamic DNS service list from </FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>>> </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> You can also =
search for=20
'free DNS' on the internet.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>>>-Greg</FONT></DIV>
<DIV> </DIV>
<DIV><snip></DIV>
<DIV> </DIV>
<DIV>So, your provider allows you to host 6 domains, the above will =
allow at=20
least 5 more. </DIV>
<DIV> </DIV>
<DIV>NOW, if someone could answer my question I would be pleased as=20
punch.</DIV>
<DIV> </DIV>
<DIV>-Russel</DIV>
<DIV> </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=20
size=3D2>Hi Russell,</FONT></SPAN></DIV>
<DIV><SPAN class=3D968595505-11062002><FONT color=3D#0000ff =
face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D968595505-11062002><FONT color=3D#0000ff =
face=3DArial=20
size=3D2>Your message intrigues me. I run Xitami Pro and host =
about 6 sites,=20
4 of them my own. I am on a DSL line and the company I have it =
through=20
will not let me have any more. Mabry I am wet behind the ears ( I =
am when=20
it comes to computers) but are you having several different =
domaine names=20
on the same IP addresses? If I am wrong. please let me know, and =
If you=20
are, will you tell me how it is done? but in plain language.=20
</FONT></SPAN></DIV>
<DIV><SPAN class=3D968595505-11062002><FONT color=3D#0000ff =
face=3DArial=20
size=3D2></FONT></SPAN> </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=20
[mailto:xitami-admin@lists.xitami.org]<B>On Behalf Of </B>Russel =
Olinger<BR><B>Sent:</B> Monday, June 10, 2002 6:43 =
PM<BR><B>To:</B>=20
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=20
DNS virtual hosting.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>All my sites work =
properly. However,=20
several of the sites send auto-emails from forms and so =
forth. =20
When the email comes in, the Header info shows the email coming =
from a=20
different web server.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Is there anyway to get the =
header info,=20
using Xitami or DNS, that can get the correct DNS name. =20
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </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 =20
PTR <A=20
=
href=3D"http://www.kdralumni.com">www.kdralumni.com</A></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>66.172.2.44 =20
PTR <A=20
=
href=3D"http://www.swellegantvintage.com">www.swellegantvintage.com</A></=
FONT></DIV>
<DIV><FONT face=3DArial size=3D2>66.172.2.44 =20
PTR <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 =20
PTR <A=20
=
href=3D"http://www.ripandburn.com">www.ripandburn.com</A></FONT></DIV>
<DIV> </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>=20
site, however, the email header shows the site that connected to =
the=20
mail server was: <A=20
href=3D"http://www.kdralumni.com">www.kdralumni.com</A> =
. =20
Technically, you are only supposed to have one PTR record for an =
IP=20
address (in this case, it was using the first one in the list), =
you can=20
have many A records though.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Once I deleted the PTR record =
for=20
kdraumni.com then the email header showed the connecting machine =
as the=20
next one in the list: <A=20
=
href=3D"http://www.swellegantvintage.comarpe-dm.com">www.swellegantvintag=
e.com</A>=20
machine. Is there another way of doing this or tricking =
the email=20
server so no matter which site generates the form and subsequent =
email=20
that it reflects the correct DNS name (site name) that it came=20
from?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>-Thanx in advance.</FONT></DIV>
<DIV> </DIV>
=
<DIV> </DIV></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BO=
DY></HTML>
------=_NextPart_000_015F_01C2113A.3BC1B0C0--