If the webserver runs on Windows server, you install the Windows server version of an antivirus.
If the webserver runs on Linux, you install the Linux version of an antivirus.
it's that simple.

Kees