Not charging with headlights on

I'll let someone else guide you through diagnosis. My best guess is a diode in the alternator has failed. These step up the alts output as required when they work properly.