Set the oven to 350°F (175°C) and grease and line the bottoms of the cake pans with parchment paper.
Sift the flour, baking soda, baking powder, and salt in a medium-sized bowl. Put aside.
Blend the cocoa powder with hot water in a another dish until it's smooth. Allow it to cool a little.
Beat the softened butter and sugar in a large mixing mixer until frothy and light.
One egg at a time, adding and beating thoroughly after each addition. Add the vanilla extract and stir.
Add the flour mixture to the butter mixture gradually, alternating with the coffee and buttermilk.
The flour mixture should be added first and last, and it should be mixed only until blended each time.
Using an offset spatula, equally distribute the batter among the cake pans that have been prepped and smooth the tops.
Bake for 30 to 35 minutes, or until a toothpick inserted in the center comes out clean, in a preheated oven.
After taking the cakes out of the oven, allow them to cool in the pans for ten minutes before moving them to a wire rack to finish cooling.