01 -
Preheat oven to 350°F (175°C). Grease and flour two 9-inch round cake pans.
02 -
In a large bowl, beat the softened butter and granulated sugar together until light and fluffy, about 5 minutes.
03 -
Add eggs one at a time, beating well after each addition until fully incorporated.
04 -
In a separate bowl, whisk together the flour, baking powder, and baking soda.
05 -
In a measuring cup, mix the buttermilk and vanilla extract.
06 -
Gradually add the dry ingredients to the butter mixture, alternating with the buttermilk mixture. Begin and end with the flour mixture, stirring just until combined.
07 -
Gently fold in the chopped pecans and shredded coconut until evenly distributed throughout the batter.
08 -
Divide the batter evenly between the prepared cake pans, smoothing the tops with a spatula.
09 -
Bake in the preheated oven for 25-30 minutes, or until a toothpick inserted into the center comes out clean.
10 -
Allow cakes to cool in the pans for 10 minutes before transferring to wire racks to cool completely.
11 -
In a mixing bowl, beat cream cheese and softened butter together until smooth. Gradually add powdered sugar, mixing well. Add vanilla extract and enough milk to reach desired consistency.
12 -
Place one cooled cake layer on a serving plate. Spread a layer of frosting on top, then place the second layer on top. Frost the top and sides of the cake.
13 -
Optionally, sprinkle additional chopped nuts or coconut on top of the frosted cake for a decorative finish.