The main types I know of are:
doing a 301 redirect in htaccess, by putting few lines in the .htaccess file, all requests are automatically redirected to a new address.
CNAMEredirect (not even sure if that is a real re-direct ?), but if I want all requests to
a.domain.comto be handled by
b.domain com, I can add a
CNAMErecord for the
bsubdomain to point to
What else, and what is the best practice of using each ?