How subdomain on named chrooted ?

Discussion in 'Installation/Configuration' started by bobbob, Apr 13, 2012.

  1. bobbob

    bobbob New Member

    Helo everybody,

    I need help to set a subdomain on named chrooted . First ,think is necessary, to insert a new zone in var/named/chroot/etc/named.conf:
    zone "" {
    type master;
    file "";
    or is not nessary ?
    Than in /var/named/chroot/var/named/ insert a new file named with this script : IN SOA root.localhost. (
    2007121201 ; Serial
    10800 ; Refresh
    3600 ; Retry
    604800 ; Expire
    38400 ; Minimum TTL

    ; servere DNS
    IN NS

    ; MX Records
    IN MX 10 A

    ; Hosts
    ns1 IN A
    mail IN A
    www IN A
    IN A
    Finaly in /etc/httpd/conf/httpd.conf a new virtualhost

    Is this correct?
  2. falko

    falko Super Moderator Howtoforge Staff

    You must create the subdomain record in the zone.

Share This Page