Skip to main content

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

Rails • Asked by Mahmoud Sayed

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).


Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 27,623+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.