From: Mikel Bauer <mikel@bridgeband.net>
To: "J. S. Weeks" <dobrovolyets@yahoo.com>
Cc: linux-admin@vger.kernel.org
Subject: Re: dns config for virtual hosts
Date: Fri, 18 Apr 2003 16:02:13 -0600 [thread overview]
Message-ID: <3EA075E5.4060409@bridgeband.net> (raw)
In-Reply-To: <20030418211723.22057.qmail@web40005.mail.yahoo.com>
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 *):
<VirtualHost *>
....
ServerName www.rtfm.com
....
</VirtualHost>
<VirtualHost *>
....
ServerName www.seconddom.com
....
</VirtualHost>
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
>
>
next prev parent reply other threads:[~2003-04-18 22:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-18 21:17 dns config for virtual hosts J. S. Weeks
2003-04-18 22:02 ` Mikel Bauer [this message]
2003-04-20 15:37 ` terry white
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3EA075E5.4060409@bridgeband.net \
--to=mikel@bridgeband.net \
--cc=dobrovolyets@yahoo.com \
--cc=linux-admin@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.