This question already has an answer here:
How does the first stage of the Falcon 9 rocket launch and land at Cape Canaveral, Florida? I was under the impression that its trajectory sends it about 60 miles off the coast. It makes sense to land on a platform at sea. It would have to backtrack a long distance to land near the launch location. Am I missing something or not understanding the SpaceX launch/landing procedure?