I use a
Marshall DSL15C for recording at home, but I am sure my advice will apply to all other tube amps, as well.
The most important thing is volume. Find out where your amp sounds best. Set up an SM57, on the dust cap edge, an inch from the grille cloth. Record the same riff with volume at 1, 3, 5, 7, 8, 9, and 10, making sure the input level on your interface is the same for all takes, so that all tracks in the DAW are of roughly same height and, hence, loudness (makes comparison more straightforward, so there's less work trying to volume-match them later). Finally, listen to the recording and decide where the sweet spot is. Check with headphones, as they are more revealing than speakers. Most likely, the sweet spot be in a range that's too loud for your neighbors, if you have neighbors. The goal is to get as close as you can afford without getting the police called on you. Volume is really the most important thing. As long as you have a decent interface and an SM57, mic placement, amp placement in the room, room acoustics, etc., will all have a subtle effect not worth sweating over in the beginning. First get the basics right. Later you can experiment with subtle nuances for artistic purposes.
If you are like most of us home recordists, most likely you'll run into the problem of thin, fizzy guitars. I have been grappling with this problem for years, and still no solution in sight. My current theory is that it is just due to the nature of how a speaker sounds up-close versus how the amp sounds from our listening position, once the sound has traveled through the air and been attenuated in the high-end and compressed by the air. I suppose the only solution to getting natural sounding heavy guitars is to recording with a combination of close mic and room mic. I have tried everything else (amp positioning, mic placement, volume setting, gain setting), but to no avail. You could try some extreme EQ settings on your amp, but I would not advise to go that route. If you can't get a good recorded tone with all EQ at noon, the issue is not EQ, but rather something else.