Electric guitars pose some particular challenges when recording. Their sound generally has a big, loud presence, and getting that vibe onto the recording will take practice. Remember that distortion from the amp and distortion from the mic are entirely different. Tweak your setup until what you hear on the track is what you know came out of the amp.
You can read the details here: http://www.recordingmag.com/resources/resourceDetail/163.html