IIS To NGINX
Migrating From Microsoft IIS To NGINX Web Server
We have moved our hosted applications from the Microsoft Internet Information Services server (most commonly known as Microsoft IIS) to a NGINX server. Most of our applications are built with the Microsoft .NET Core framework and it's common to host them in IIS server. Both are products of Microsoft and they integrate well. We have hosted them in IIS server in a Windows VPS by a 3rd party VPS service provider on a bi-annual subscription. Our recent migration from a Windows server to a Ubuntu server and our in-house SaaS product (under active development) of a multi-tenant storefront required us to look for a versatile web server with powerful reverse proxy capability to handle subdomain and subpath URL routings and we found NGINX web server fulfil all our requirements. NGINX is open-source software for web serving, reverse proxying, caching, load balancing, media streaming, and more. It was fast and well-documented. We were able to quickly set up the web server and configure it to serve a support web application in a subdomain under a subpath of the same domain name used for the product's landing website. Final NGINX configuration file:
After the initial setup, we migrated all our web applications and websites to the NGINX web server one by one without much friction. The web applications are proxied to the NGINX web server. Fortunately, all our Web applications are built on top of the .NET Core framework (successor of .NET framework) and previously hosted in the Windows platform. The .NET Core framework is a modular and cross-platform framework developed by Microsoft for building high-performance applications. Its cross-platform feature allows it to work on the Linux platform seamlessly.