How to host web application (React JS + MS SQL Server) in IIS server?

When hosting react crud web application in IIS server it only contain the UIs. without database connection. But in local server it works well. Can I know how to host web application in IIS server? (MS Sql server + react js)

local Server

After host the page

No one is replying bc this may not be straightforward without having used the application.

But why not to host it in a simple site like replit or many others that are somewhat easier? Even Amazon EC2 is probably simpler (it is just a linux instance, if you set up and use linux).