Which web server are you using in production for ASP.NET Core on a *nix server?

Use Kestrel, it’s the way going forward. Refer to this: Change to IIS hosting model.

Does this mean it will work with say, Apache?

Yes and indeed that’s the recommended approach. However, never expose Kestrel to outside world directly. Always put it behind a web server like nginx, IIS, HAProxy or Apache. More about Kestrel:

  • ASP.NET 5: Kestrel
  • ASP.NET 5: Considerations for Production Linux Environments

Some examples of using those reverse proxies:

  • NGINX Reverse Proxy and Load Balancing for ASP.NET 5 Applications
  • ASP.NET Core Authentication in a Load Balanced Environment with HAProxy and Redis

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)