To make this recipe gluten free, replace the yellow cake mix with a certified gluten-free yellow cake mix. Also confirm that the powdered sugar, extracts, and coconut are labeled gluten free, as ingredients and manufacturing practices may vary by brand. For best texture, follow the gluten-free cake mix package directions if they differ slightly in liquid or egg requirements.