Does rooting require a custom ROM? I've noticed that some apps say they require a rooted phone. Is it necessary to install a custom ROM in order to root a phone?

Edit: I should mention that I've seen this answer, but my phone isn't listed.
No.  For the most part, custom ROMs are just cosmetic changes to official ROMs and may come pre-rooted, but nothing about rooting requires a custom ROM.