I need to know if IIS 7 is compatible with the windows server 2019, windows server 2016, or windows server 2012R2.
IIS is no problem, only some functions in iis will have compatibility problems, I suggest you try to migrate. If you get any problems, welcome to discuss. and the following link should help you:
migrate-a-web-site-from-iis-60-to-iis-7-or-above
steps-to-migrate-the-websites-from-iis-7-5-to-iis-10
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.