Any process in which an exocyst is transported to, or maintained in, a specific location that results in the modulation of endocytosis. An exocyst is a protein complex peripherally associated with the plasma membrane that determines where vesicles dock and fuse.