Tudod Ki <tudodk...@yahoo.com> very impatiently asked: > I want to redirect a domain "somedomain.eu" to "tothis.eu"
Reading further, it seems you mean "redirection" in the context of an apache based website. So... > so I edit the "somedomain.eu.hosts" file with vim [appending this two > line to the end]: > $ORIGIN eu.somedomain IN CNAME tothis.eu. That seems a very strange thing to do, given it's not possible to mix CNAME and other types of DNS record. In file tothis.eu: $ORIGIN tothis.eu @ A 192.168.1.1 ... In file somedomain.eu: $ORIGIN somedomain.eu @ A 192.168.1.1 ; Or elsewhere ... Now within the apache configuration relating to the somedomain.eu target, you need a (virtual) host that forces a web redirect to the new target: <VirtualHost *> ServerName somedomain.eu Redirect permanent http://tothis.eu/ </VirtualHost> > Or any docs/howtos please? Did you search for any? http://httpd.apache.org/ is a good reference for Apache stuff. Chris -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org