Preheat oven to 350°F (175°C). Spread shredded coconut on a baking sheet and toast until golden brown, about 5-10 minutes.
In a saucepan, combine whole milk, coconut milk, sugar, cornstarch, and salt. Cook over medium heat, stirring constantly until thickened.
In a bowl, whisk egg yolks. Gradually add hot milk mixture to yolks, whisking constantly. Return mixture to saucepan and cook until thickened.
Remove from heat and stir in vanilla extract and half of the toasted coconut. Pour into pre-baked pie crust.
Chill pie in the refrigerator for at least 2 hours.
Whip heavy cream with powdered sugar until stiff peaks form. Spread over chilled pie.
Sprinkle remaining toasted coconut on top before serving.