Prepare pie shell by piercing shell all over with a fork. Bake pie shell accoding to package or recipe directions. Set it aside to cool
Toast coconut by spreading 1/4 cup shredded coconut on a cookie sheet and place into a 350 degree oven for 5 minutes. Toss coconut then continue cooking until it starts to brown in about another 5 minutes. Watch closely as it can go from white to burnt quickly. Set it aside to cool.
In a saucepan, combine granulated sugar and cornstarch. Whisk in coconut milk, half-and-half and eggs. Cook over medium-high heat, stirring constantly until bubbling and thick, about 7-8 minutes. Stir-in vanilla and shredded coconut. Pour into pie crust. Put into refridgerator to cool.
Beat whipping cream at high speed with an electric mixer until it starts to thicken up. Slowly add sugar and vanilla and continue beating until blended and peaks form. Place whipped cream onto pie and then cover with the toasted coconut
Convert to a Pina-colada pie:
Fold 2 tbsp dark rum and 1/2 cup drained crushed pineapple into the whipped cream