Bind Virtual Hosting

Walter Balzer w_balzer at yahoo.de
Tue Mar 22 10:03:25 UTC 2005


Hello,

i have a Webserver within multiplie Virtual-Host-Sections in the
httpd.conf.

I am planning to run multiplie Subdomains as different Virtual Hosts:


demo.homepage.de
walter.homepage.de
xyz.homepage.de

The Configurationpart of the Webserver seems not to be the problem but
what is the best Bindconfig for that solution?:


a) with ORIGIN
==============

$ORIGIN homepage.de
...

demo         IN CNAME www
walter       IN CNAME www
xyz          IN CNAME www


b) without ORIGIN
=================
demo.homepage.de         IN CNAME www
walter.homepage.de       IN CNAME www
xyz.homepage.de          IN CNAME www

c) with IN A
============
demo         IN 192.168.10.1
walter       IN 192.168.10.1
xyz          IN 192.168.10.1

d) with IN A an $ORIGIN
=======================
demo.homepage.de         IN 192.168.10.1
walter.homepage.de       IN 192.168.10.1
xyz.homepage.de          IN 192.168.10.1

What is the best solution for the Subdomain-Virtual-Hosting?

Thanks a lot!

Walter B.



More information about the bind-users mailing list