Preheat the oven to 350°F (175°C). Grease and flour an 8-inch round cake pan.
In a mixing bowl, cream together the softened butter and sugar until light and fluffy.
Add the dulce de leche and mix until well combined.
Beat in the eggs, one at a time, followed by the vanilla extract.
In another bowl, combine the flour, shredded coconut, baking powder, and salt.
Gradually add the dry ingredients to the wet mixture, alternating with the milk. Mix until just combined.
Pour the batter into the prepared cake pan and smooth the top.
Bake for 30-35 minutes or until a toothpick inserted into the center comes out clean.
Allow the cake to cool in the pan for 10 minutes before transferring it to a wire rack to cool completely.