Preheat Oven: Set to 350°F (175°C).
Prepare Cake Batter: In a large bowl, mix flour, sugar, baking soda, baking powder, and salt. Add eggs, vanilla extract, and crushed pineapple (with juice). Stir until well combined. Fold in shredded coconut and macadamia nuts if using.
Bake: Pour the batter into two greased 9-inch round cake pans. Bake for 25-30 minutes or until a toothpick inserted into the center comes out clean. Let the cakes cool completely.
Make Frosting: Beat together the cream cheese, butter, and powdered sugar until smooth and creamy.
Assemble Cake: Spread the frosting between the cooled cake layers and over the top and sides of the cake.
Decorate: Optionally, garnish with additional shredded coconut, pineapple slices, or tropical flowers.