On Fri, 01 Jan 2010 04:00:10 -0800, Tudod Ki wrote: > I want to redirect a domain: > "somedomain.eu" > to: > "tothis.eu" > so I edit the "somedomain.eu.hosts" file with vim [appending this two > line to the end]: > Z$ORIGIN eu.somedomain IN CNAME tothis.eu.
AFAIK, CNAME record is not inteded for redirection. CNAME is a kind of "name aliasing". I think you will need an "A" record in the event "tothis.eu" had a dedicated IP address: somedomain.eu IN A remote_ip_address_of_the_server_tothis.eu > then I update the serial, save the file, quit, then: > > rndc reload somedomain.eu > > but it still doesn't work.how could I redirect the domain with > "$ORIGIN"? > do I have to enable something in apache [e.g.: enable the redirection]? > both domain is mine [on this server] > versions: > apache 1.3.34-4.1 bind9 > 9.3.4-2etch3 > os: Debian Etch > Thank you! :) > Or any docs/howtos please? Another approach could be using Apache to handle the domain redirection/ forwarding: Redirect directive http://httpd.apache.org/docs/1.3/mod/mod_alias.html#redirect Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org