Preheat your oven to 350°F (175°C).
Grease and flour two 9-inch round cake pans.
In a medium bowl, whisk together the flour, baking powder, baking soda, and salt.
In a large mixing bowl, cream the softened butter, granulated sugar, and brown sugar until light and fluffy.
Add the eggs one at a time, mixing well after each addition. Then stir in the vanilla extract.
Gradually add the dry mixture to the butter mixture, alternating with the drained crushed pineapple. Mix until just combined.
Fold in the shredded coconut gently until evenly distributed.
Divide the batter evenly between the prepared pans and smooth the tops.
Bake for 25-30 minutes or until a toothpick inserted in the center comes out clean.
Cool the cakes in the pans for 10 minutes, then transfer them to a wire rack to cool completely.
While the cakes cool, prepare the frosting by beating the heavy cream and powdered sugar until stiff peaks form.
Once the cakes are fully cooled, place one layer on a serving plate and spread a generous amount of frosting on top.
Carefully place the second layer on top and frost the top and sides of the entire cake.
Finish by sprinkling additional shredded coconut on top for garnish.