Preheat the oven to 350°F
Line the bottom of an 8 inch round cake pan with an 8 inch round piece of parchment paper and grease the sides and bottom to ensure easy release.
In a medium bowl, whisk together the all purpose flour, baking powder, and kosher salt until well combined.
In a separate large bowl using a handheld or stand mixer, beat the butter and sugar until light and fluffy, about 3-4 minutes. Add the eggs one at a time, beating after each until smooth, add the extracts, mix well.
Make sure to scrape down the bowl as needed, get the bottom really well.
Gradually add the dry ingredients to the butter mixture, alternating with the buttermilk until combined, do not over mix. Fold in the shredded coconut.
Pour the batter into the prepared cake pan and smooth the top with a spatula. Position it on the center rack of the oven to ensure even baking, avoiding placement too close to the top or bottom. Bake for 28-32 minutes, or until a toothpick inserted into the center comes out clean and the top is golden. Cool down before frosting.