Re: domain redirection how?
Tudod Ki <email@example.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:
@ A 192.168.1.1
In file 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:
Redirect permanent http://tothis.eu/
> Or any docs/howtos please?
Did you search for any?
http://httpd.apache.org/ is a good reference for Apache stuff.