The most sensible approach is to host the web server on the PC and have the web app communicate with the Arduino via the USB serial connection as required to exchange commands and status information.
The most sensible approach is to host the web server on the PC and have the web app communicate with the Arduino via the USB serial connection as required to exchange commands and status information.