That´s not an easy task. There is a .net core version for Linux you need to install and you also need to install and configure kestrel webserver which is able to handle .net things. But therefore kestrel need to be configured as backend server and you also need a reverse proxy in front of it.
Although it might work, running .net on linux is a bad idea. Too many configuration, too many problems.