Is it possible to install IIS on Linux?
IIS is Microsoft-proprietary web server software that can only run in the Windows operating systems for full support of it and all of its features. It is not capable of being run in a non-Windows environment without sacrificing some functionality, and you will need Windows Server or Windows 7 with IIS installed on it in order to use IIS and all of its features.
After introducing .Net Core, now Microsoft officially provide support to run .Net Core applications on Linux and you no longer need IIS server to serve .Net applications. You can use Kestrel web server to server .Net Core web applications. A complete guide to serve .Net Core web application with Nginx as reverse proxy is given here. If you want to use Apache instead of Nginx have a look here.
It is not recommended to run IIS in a non-native environment (net exactly sure why you would want to) but it is possible to run .NET applications on Linux.
You should check out
So the answer is; Yes it is possible but 100% not recommended.
If you would like to run a web server using Linux you should use a native package like
As others said, IIS isn't supported on GNU/Linux however, as of (at least) late 2019, you can use the Kestrel web server which runs perfectly fine on Arch, so it shouldn't be a problem to run a .NET Core 3 web server on Ubuntu or any modern distros.
That being said, you should make sure you have the correct .NET Core SDK and runtime (which matches the version specified in your project's