configuring Rails on IIS? - ruby-on-rails

We are planning to take a virtual dedicated server where we can host our .NET , PHP and rails application together . Since we need to host .NET webapps , linux is out of question . I have configured PHP on IIS , but was wondering if it is possible to configure rails with IIS .
We want to avoid another webserver running just for rails .

I've set it up on IIS7 using the tools available at http://roriis.codeplex.com/.

I've written a blog post for IIS 6 with Rails 3 here in case anyone else is looking for that kind of configuration and finds this post.

If you have Microsoft ISA server, it can act as a reverse proxy to Mongrel cluster. There is also a plugin called IIRF that works to achieve the same goals in standard IIS.

Related

How can I push my ASP.NET MVC web-application to webserver

i created a web-app in vscode using MySQL and ASP.NET MVC.
Now i want to publish my project in a webserver or IIS.
What is the best opportunity and how can i push it to the server/IIS ??
Need todo this, so other users in the network have access to the webapp
IIS web server didnĀ“t work for me in combination with mysql database on a running Linux system.
U can try to push it on linux with apache: this is explained here
https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/linux-apache?view=aspnetcore-6.0 But i was facing problems with proxy server.
Currently I am trying it in connection with a FTP-server.
The easiest way should be a cloud system, like azure oder aws.
Good Luck :) Please comment other solutions below.

Install Apache with a mvc application?

Is it possible to add an Apache web server to an MVC project so that at the end you get an installation that installs the web server and moves the web page to the right folder?Or exactly the other way around, is there an Apache installation that you give your website to so it goes straight to the right folder?Does something like this exist in an easy way? Or maybe not with Apache but with a other application?
if I understand your question you want to automate the installation of "PHP/Apache" websites using "ASP.net MVC app"
I've done this before, I used Plesk CLI to create user accounts, databases, copy files ... etc.
You may want to use Cpanel UAPI for doing this tasks on remote Linux server.

ASP and Django on same hosting

Can I have both a page using ASP.NET MVC 4 and another using Django under the same hosting?
Yes , you can config your web server to serve django project at the same host with ASP.Net or with some php application
otherwise you can install apache with iis and config apache to load django project and iis to load ASP.Net application
you can manage it by manage their ports
for example port 80 for IIS and port 8080 for apache
if you want to do it you should install wsgi_mod in apache
you can see here : https://docs.djangoproject.com/en/1.2/howto/deployment/modwsgi/
Regards
Mohammad
Yes, just configure your web server to serve Django separately from ASP.NET application.
If you want to serve ASP.NET you need a Windows-based server. Serving Django from Windows is not a big problem, but you will probably not be able to do it from a shared hosting account. Shared windows hosting is usually locked down / limited so much that hosting Django is impossible.
I agree with Daniel Eriksson ... It will be difficult to control hosting environment for Django on shared server. Moreover, I do not see Django listed on Microsoft's Web Platform Installer (http://www.microsoft.com/web/gallery/categories.aspx) application list. That means, it might be difficult to setup & take true benefits of dJango application on Windows platform.
If you still decide to host asp.net + django on a windows platform, go for a VPS hosting.

Umbraco not showing up on domain - cPanel

I am currently trying to install umbraco to my web server running cpanel
it is uploaded to www.benhussenet.co.uk/build. but when I go to the domain it says 404 nothing found.
Can anyone tell me and help me how to fix this please?
Many Thanks
Ben
http://www.benhussenet.co.uk/build/default.aspx returns the code inside the ASP.NET page, which shows that you're on a server which doesn't have ASP.NET installed. This implies you're running on a *NIX webserver (which, Firebug'ing your site, it returns "Apache/2.2.14 (Unix)"). Umbraco is .NET and requires either a Windows web server, or a Linux server with Mono installed.
HTH,
Benjamin

Can I run LAMP and Rails from the same Apache instance?

We have a RedHat box with Apache2, PHP5 and MySQL 5 for much of our development. Now, we have a Rails client, and we need to set up a Rails app on the same server. Can we install Ruby and the Rails framework with the same Apache, or should we avoid this? Why or Why not? Is it possible to direct subdomains to either PHP or Ruby in the individual V-host definitions?
Yes, you can configure your virtual hosts to Rails, PHP, or anything else with the proper configuration. The details depend largely on how you are connecting to Rails, but generally however you would configure a single purpose Apache server should work for the virtual hosts.
Yeah - Install passenger, then you can configure your sites through your apache conf files. The passenger docs contain everything you'll need to know!

Resources