Preheat the oven to 350°F
Prepare the baking pans. Grease the pans with butter, then dust with flour or cocoa powder.
Make the buttermilk. Add the vinegar to the coconut milk or any milk you prefer.
Stir and let it sit for 5 minutes. This will allow the milk to curdle like buttermilk texture.
Make the cake batter. Sift all dry ingredients in a small bowl, mix and set aside. In a large medium-sized bowl, whisk the eggs, then add the rest of the wet ingredients. Mix in the dry ingredients until incorporated. Gradually add the hot coffee until well blended.
Pour the cake batter into the prepared greased pans.
Bake in preheated oven at 350°F for 30 to 35 minutes or until the inserted toothpick comes out clean. 15 to 17 minutes for the cupcakes. (Depending in your oven)
Let it cool in the pan for 10 minutes. Remove from the pan and cool completely on a cooling rack.
Make the Cream Cheese Frosting. Cream the softened butter and cream cheese until smooth. Gradually add the sifted powdered sugar, then add in the vanilla and melted white chocolate or white chocolate ganache. Mix until fluffy or until getting the desired consistency and texture.