[lug] Re: Virtual Hosting

John Hernandez John.Hernandez at noaa.gov
Wed Mar 14 08:59:52 MST 2001

Like Nate, I'm still not too clear on what you're trying to accomplish with DNS.  To enable virtual hosting on a single web server, you can have a zone file that contains something like this:

site1	IN A
site2	IN A
site3	IN A

and so on.  I think you're just talking about a typical zone file.  From the persepective of DNS, there's nothing "virtual", just a bunch of A records that happen to resolve to the same IP address.  No magic, really.

Is this what you mean?


SoloCDM wrote:
> Nate Duehr stated the following:
> >
> > In BIND you just set up zone files for your different DNS zones and point them
> > all at the same IP address if you're doing Virtual Hosting.  I'm not sure what
> > your question is.  (?)  There's no special configuration for DNS when doing
> > virtual hosting other than the oddball *.domainname.com syntax if
> > your "machine" names change in your code that publishes pages...
> >
> > Quoting SoloCDM <deedsmis at aculink.net>:
> >
> > > I know how to do Apache, Sendmail, ..., but where is the documentation
> > > for Virtual Hosting for DNS & BIND to create the file that holds all
> > > the virtual hosts (aliases) directed back at the server.  If any
> > > additional information, links, pages (possibly DNS & BIND) is
> > > necessary, please be sure to include them.  Thanks!
> It was my understanding that all the virtual hosts are listed in one
> file and that file is pointed back to the server IP.  Maybe it
> involves the $INCLUDE directive?
> Note: When you reply to this message, please include the mailing
>       list/newsgroup address in Cc: and my email address in To:.
> *********************************************************************
> Signed,
> SoloCDM
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug

More information about the LUG mailing list