Hi Liste, (...2. Versuch!?) dies ist mein erstes posting bei lists.debian.org.
Ich suche Hilfe zu DNS-BIND9/APACHE-VIRTUALHOSTS: ich habe hier 2 Nameserver stehen, die sich bisher nur um eine Domäne kümmern. domain1.net, nennen wir sie mal. Jetzt ist es doch sicherlich möglich, dass ich über diese Nameserver weitere Domänen hoste. Natürlich sollen diese auch einen Webserver nutzen können. Irgendwie wird das ja bei den professionellen Webhoster auch so realisiert. Jetzt habe ich schon eine 2. Domäne registriert: nennen wir diese domain2.org. Ich meine, dass ich den BIND soweit habe, dass er die Domain "versorgt", zumindestens sagt mir ein grep named... Sep 5 13:10:09 ns1 named[12551]: zone 0.0.127.in-addr.arpa/IN: loaded serial 2002082304 Sep 5 13:10:09 ns1 named[12551]: zone xx.xxx.IP.in-addr.arpa/IN: loaded serial 2002082501 Sep 5 13:10:09 ns1 named[12551]: zone domain1.net/IN: loaded serial 2002082501 Sep 5 13:10:09 ns1 named[12551]: zone domain2.org/IN: loaded serial 2002090401 Sep 5 13:10:09 ns1 named[12551]: running Sep 5 13:10:09 ns1 named[12551]: zone xx.xxx.IP.in-addr.arpa/IN: sending notifies (serial 2002082501) Sep 5 13:10:09 ns1 named[12551]: zone domain1.net/IN: sending notifies (serial 2002082501) Sep 5 13:10:09 ns1 named[12551]: zone domain2.org/IN: sending notifies (serial 2002090401) Sep 5 13:10:09 ns1 named[153]: client IP.des.2nd.ns#32809: bad zone transfer request: "domain2.org/IN": non-authoritative zone (wieso kommt dieser Fehler? Die domain1.net transferiert er doch auch korrekt!!??) ...und ein nslookup ns1:/etc/bind/zones# nslookup Note: nslookup is deprecated and may be removed from future releases. Consider using the `dig' or `host' programs instead. Run nslookup with the `-sil[ent]' option to prevent this message from appearing. > set type=soa > domain2.org. Server: xxx.xxx.xxx.20 Address: xxx.xxx.xx.20#53 domain2.org origin = ns1.domain1.net mail addr = hostmaster.domain1.net serial = 2002090401 refresh = 10800 retry = 3600 expire = 604800 minimum = 3600 > Demnach kann ich doch davon ausgehen, dass er die Domain2.org kennt und bedienen kann!? Wie muss ich aber jetzt einen VirtualHost einrichten, bzw. wie muss ich die db.domain2.org (zonen-Anweisung) für BIND9 konfigurieren, damit ich auch www.domain2.org machen kann (oder ftp.)?? -obwohl der Webserver auf ns2.domain1.net liegt!? . . . Der Webserver läuft z. Zt. auf dem 2. NS und so habe ich die Section 3 bearbeitet: -snip- httpd.conf . . . ### Section 3: Virtual Hosts # # VirtualHost: If you want to maintain multiple domains/hostnames on your # machine you can setup VirtualHost containers for them. # Please see the documentation at <URL:http://www.apache.org/docs/vhosts/> # for further details before you try to setup virtual hosts. # You may use the command line option '-S' to verify your virtual host # configuration. # # If you want to use name-based virtual hosts you need to define at # least one IP address (and port number) for them. # #NameVirtualHost 12.34.56.78:80 NameVirtualHost xxx.xxx.xx.21 # IP.des.2nd.ns # # VirtualHost example: # Almost any Apache directive may go into a VirtualHost container. # #<VirtualHost ip.address.of.host.some_domain.com> # ServerAdmin [EMAIL PROTECTED] # DocumentRoot /www/docs/host.some_domain.com # ServerName host.some_domain.com # ErrorLog logs/host.some_domain.com-error.log # CustomLog logs/host.some_domain.com-access.log common #</VirtualHost> #<VirtualHost _default_:*> <VirtualHost IP.des.2nd.ns> ServerAdmin [EMAIL PROTECTED] DocumentRoot /var/www/domain2/www ServerName www.domain2.org ErrorLog /var/www/domain2/logs/error_log TransferLog /var/www/domain2/logs/access_log </snip> httpd.conf Falls sich jemand die Mühe gemacht hat und das gelesen hat - tausend Dank! Problem erkannt? Wer aus WI kommt, kann mich auch gerne pers. ansprechen und am WE helfen kommen ;-) Regards axel -- Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject "unsubscribe". Probleme? Mail an [EMAIL PROTECTED] (engl)