My experience…im not a guitarist but i work in a pro-studio.

All has been said by TSV.

Almost depends on what you need

…clean DI guitar?
• Guitar > DI > mic preamp > A4

…guitar + drive/dist stompboxes?
• Guitar > stompboxes chain > guitar amplifier > mic > mic preamp > A4
[i really dont like the sound of a dist/driven guitar fed directly into DI]

…guitar + fx stompboxes?
• Guitar > Fx stompboxes > DI (two if the fx is stereo) > A4