how to clean a front load washing machine?

I need to start washing baby clothes but the washing machine has dark spots from mold and don't feel comfortable washing the baby clothes in it. I tried everything like bleach, vinegar, baking soda, but it doesn't seem to work. Is it okay to wash baby clothes even though the washing machine is not perfectly clean ? Or is there any tip you use ?