[Xitami] HELP - virtual DNS hosting
Russel Olinger
xitami@lists.xitami.org
Tue, 25 Sep 2001 19:43:56 -0700
What Mr. Soulkoff is referring to:
In the defaults.cfg file, under the virtual hosts section:
<snippit>
[Virtual-hosts]
www.mayanarch.com=mayanarch.cfg
mayanarch.com=mayanarch.cfg
www.thinkincircles.com=thinkincircles.cfg
thinkincircles.com=thinkincircles.cfg
www.simangroup.com=simangroup.cfg
simangroup.com=simangroup.cfg
...
...
<snippit>
THEN, in your DNS server you must configure, A Records only:
mayanarch.com A xxx.xxx.xxx.xxx
www.mayanarch.com A xxx.xxx.xxx.xxx
thinkincircles.com A xxx.xxx.xxx.xxx
www.thinkincircles.com A xxx.xxx.xxx.xxx
...
...
This, of course, is assuming that xxx.xxx.xxx.xxx is the SAME IP address for
each of your VHosts. Once the DNS reference is made for www.domain.com AND
domain.com then anyone who types either name into their browser will find
your server. Once the request gets to your server, then the Xitami config
above will allow users, typing either name, to get to the correct site.
If you only have www.domain.com configured, and someone types
http://domain.com then that user won't ever get to your VHost because
www.domain.com and http://domain.com are physically TWO different DNS names
and they must each of their own DNS entry. The same goes for Xitami.
----- Original Message -----
From: "Soulkoff" <soulkoff@home.com>
To: <xitami@lists.xitami.org>
Sent: Tuesday, September 25, 2001 6:30 PM
Subject: Re: [Xitami] HELP - virtual DNS hosting
> It's in case someone types mayanarch.com, and leaves out the www. That's
all. Just edit the .cfg file.
>
> ----- Original Message -----
> From: "Alvaro E. Siman" <alsiman@cofs.net>
>
>
> >
> > HOW DO I DO THIS IN XITAMI????? ISNT THIS DNS's FUNCTION???
> >
> > Also add:
> >
> > mayanarch.com
> > thinkincircles.com
> > simangroup.com
>
>
> --
> Xitami Users Mailing List -- For Xitami support
> To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
>
>