changed alternator...wont crank!

Does the car still have a fuseable link? If it does, it sounds like that is bad. The headlights might be wired separately on a circuit breaker and that's probably why they work.