Tell me more ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

The main types I know of are:

  1. doing a 301 redirect in htaccess, by putting few lines in the .htaccess file, all requests are automatically redirected to a new address.

  2. doing a CNAME redirect (not even sure if that is a real re-direct ?), but if I want all requests to a.domain.com to be handled by b.domain com, I can add a CNAME record for the b subdomain to point to a.domain.com

What else, and what is the best practice of using each ?

share|improve this question

closed as not constructive by John Conde Feb 17 at 15:53

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or specific expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, see the FAQ for guidance.