Apollo
The etymology of the name is uncertain. The spelling Apollon (pronounced [a.pol.lo:n] in Classical Attic) had almost superseded all other forms by the beginning of the common era, but the Doric form Apellon (Apellon), is more archaic, derived from an earlier *Apeljon. It probably is a cognate to the Doric month Apellaios (Apellaios), and the offerings apellaia (apellaia) at the initiation of the young men during the family-festival apellai (apellai). According to some scholars the words are derived from the Doric word apella (apella), which originally meant "wall," "fence for animals" and later "assembly within the limits of the square." Apella (Apella) is the name of the popular assembly in Sparta, corresponding to the ecclesia (ekklesia). R. S. P. Beekes rejected the connection of the theonym with the noun apellai and suggested a Pre-Greek proto-form *Apalyun.
What Doric word originally meant wall or fence for animals?
apella
According to some scholars the words are derived from the Doric word apella (apella), which originally meant "wall," "fence for animals" and later "assembly within the limits of the square."
animals