Ask A Question

Notifications

You’re not receiving notifications from this thread.

How to deploy rails on IIS or on Xammp with Apache?

Mahmoud Sayed asked in Rails

I have Windows Server R2 2012, I need to deploy rails app on it.
I want to run rails app on either IIS or on Xammp with apache.
I tried many solutions posted on the internet but none of them worked.

On IIS:
I tried to run rails on IIS 10 on windows 10 pro but I failed, check this for more details (https://stackoverflow.com/questions/48074899/httpplatformhandler-http-error-502-3-bad-gateway).
I need to depoly it first on Windows 10 before I depoly it on the windows server.

On Xammp
Last try was to run rails on Xammp and Apache, I followed the steps mentioned here (http://nlb-creations.com/2013/06/26/installing-ruby-on-rails-and-redmine-with-xampp-on-windows-7/) but this only opens the index.html -I created it by myself- in the public directory and I can't access the rest of the application using it (for example, I can't open the root page).

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 79,047+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more.

    © 2023 GoRails, LLC. All rights reserved.