How to Host a Rails App on IIS: Seeking a Simple Approach

Hello,

I’m having trouble hosting my Rails app on IIS (Windows Server 2019). Unfortunately, I don’t have the option to choose a different server since the app will be hosted on an on-premise server, which also runs other applications on IIS. I’ve read numerous discussions on this topic, and the most common feedback is that “it’s painful.” However, I haven’t been able to find a clear, step-by-step guide or solution.

So far, I’ve come across the following options:

  • Hosting with a reverse proxy
  • Hosting with WSL
  • Hosting with Docker

However, I’m looking for a more traditional approach to hosting the app, similar to how one would typically host an application in other languages.

As a developer with limited experience in server management, I’m not sure where to start. If anyone has any tips, tutorials, or guidance, I would greatly appreciate your help!

Found this on SO, looks like this will get you a rails server running within IIS?

Hi Chris ! I didn’t updated my post but i already found this solution and it works perfectly. I definitly recommand it ! Thank you for help

1 Like