Homemade Coconut Yogurt Turned Yellow on Top Overnight
I don't know if sterilization would be that important as I never made it. When you're cooling down the coconut milk, make sure to cover it with a clean (sterile?) cover so no offending bacteria or yeast floating in the air can contaminate it. The air is full of various microorganisms and they might've been a cause of your previous unsuccessful attempts.