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.
doing a
CNAMEredirect (not even sure if that is a real re-direct ?), but if I want all requests toa.domain.comto be handled byb.domain com, I can add aCNAMErecord for thebsubdomain to point toa.domain.com
What else, and what is the best practice of using each ?
