People say you bury it on the shoreline where the grass and sand meets....but I never had a coconut before.
And it would be a very bad idea for you to plant it inland. Example: You never see coconut trees, growing in Canada. Try the shoreline so the tree can get the best of both worlds then when you get enough trees try inland.