I was in a long distance relationship last year and it worked out pretty well, and lasted for 7 months. But I was the one that messed it up in the end... We managed to stay happy because we talked to eachother contantly, EVERY single night without fail! He lived in Wisconsin (about 20 mins. from Milwaukee) and I lived in northwestern IL. It was about a 3 hour drive, that we alternated who made the trip every time we saw eachother.
Communication is the key to a long distance relationship. That's it! If you can't see eachother as much as you'd want to, the closest thing you can do is either talk to them on the phone, or maybe use a webcam...