Whisk the flour, baking powder, baking soda, and salt, then toss in the unsweetened coconut.
Beat the butter and sugar for 4 to 5 minutes until pale and fluffy.
Beat in the eggs and vanilla, then alternate the flour with the coconut milk and buttermilk, stopping at the last flour streak.
Divide the batter between two prepared 9-inch pans and bake at 350°F for 28 to 32 minutes. Rest 15 minutes in the pans, then cool 1 hour on a rack.
Warm the coconut milk with the sugar for 1 minute, cool for 5 minutes, and brush it over both layers.
Beat the cream cheese and butter, work in the powdered sugar, then add the coconut milk, vanilla, and salt.
Stack the layers, crumb coat and chill 15 minutes, frost, and press the sweetened coconut onto the cake.