Begin by combining the dry ingredients in a stand mixer. Add in the mayonnaise and mix well. Finish by adding in the hot water slowly. Once fully combined, add to 2 cake pans sprayed with coconut oil. Bake in a 325 degree oven for 12 - 14 minutes. The cake is done when a toothpick stuck in the center comes out clean. Remove from oven and let cool.
Beat the cream cheese and butter until fluffy in a stand mixer. Add the confectioner sugar one cup at a time. Mix until combined, and then, add one tbsp of the coconut milk.
Continue by adding one cup of the sugar and one tbsp of the coconut milk. After all the sugar is added, check the consistency to see if you need the last tbsp of milk or need more sugar.
Take one layer of the cake and using an offset spatula and cover the top. Next, add the 2nd cake layer and spread the remaining from on top and down the sides.
Serve and enjoy!
Gluten free chocolate cake adapted from All Recipes - https://www.allrecipes.com/recipe/232875/gluten-free-chocolate-cake/