Preheat your oven to 350°F (175°C).
Place the unbaked pie crust into a 9-inch pie dish and crimp the edges as you like.
In a large mixing bowl, whisk together the melted butter and granulated sugar until smooth.
Add the eggs one at a time, whisking after each addition until the mixture is smooth.
Stir in the all-purpose flour, whole milk, and vanilla extract until everything is well combined.
Fold in the sweetened shredded coconut, making sure it’s evenly spread throughout the filling.
Pour the coconut mixture into the prepared pie crust, spreading it evenly.
Bake in the preheated oven for 45 to 60 minutes, or until the top is golden brown and the center is set. A toothpick should come out clean when inserted.
If the edges of the crust brown too fast, cover them with foil.
Once baked, remove the pie from the oven and let it cool completely on a wire rack.
After cooling, slice and serve. You can enjoy it at room temperature or chilled. For an extra treat, add some whipped cream or a scoop of vanilla ice cream.