From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mikel Bauer Subject: Re: dns config for virtual hosts Date: Fri, 18 Apr 2003 16:02:13 -0600 Sender: linux-admin-owner@vger.kernel.org Message-ID: <3EA075E5.4060409@bridgeband.net> References: <20030418211723.22057.qmail@web40005.mail.yahoo.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20030418211723.22057.qmail@web40005.mail.yahoo.com> List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: "J. S. Weeks" Cc: linux-admin@vger.kernel.org Virtual Hosting requires no special configuration dns side, except pointing the domains to the correct IP address that your web server is listening on. For example: rtfm.com SOA www 66.66.66.66 ; ip address of the web server in question seconddom.com SOA www 66.66.66.66 ; same ip address these would point to something like (assuming NameVirtualHost *): .... ServerName www.rtfm.com .... .... ServerName www.seconddom.com .... You can even throw aliases in there, I like to name the server as the base domain, and alias the www ServerName rtfm.com ServerAlias www.rtfm.com rtfm.com Virtual Hosting (aka name based hosting) used the name to see what virtualhost entry to be using, assuming proper web server configuration. - Mikel Bauer - J. S. Weeks wrote: > hello all! > > I am preparing my http server to host virtual domains > and I'm unsure of how the (dns) zone files for each > domain will be accessed by those who wish to go to the > domains. I have only set up dns for internal networks > and haven't found documentation that helps me out. > > Am I supposed to have a zone file that is for my > external ip address (not the range but the full > address)? How do other (not mine )dns servers catch > on to major zone file changes such as ip address > changes? > > Thanks in advance for your help--I apologize if I > phrased my questions incoherently. btw I'm running > the newest flavor of bind 9 and apache2 on a redhat 8 > machine. > > --dobro > > __________________________________________________ > Do you Yahoo!? > The New Yahoo! Search - Faster. Easier. Bingo > http://search.yahoo.com > - > To unsubscribe from this list: send the line "unsubscribe linux-admin" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > >