Mobile app version of vmapp.org
Login or Join
Candy875

: How to manage a site trying out different technologies? I'm a complete newbie to web hosting. I only have programming skills, but I'd like to acquire a domain. Then I'd even like to have

@Candy875

Posted in: #NodeJs #RubyOnRails #WebDevelopment #WebHosting

I'm a complete newbie to web hosting. I only have programming skills, but I'd like to acquire a domain. Then I'd even like to have the chance to manage different technologies for hosting web sites and applications.

I mean, I don't only want to try the Apache, PHP and MySQL stack but try out with node.js and Ruby on Rails. These might be subdomains and each correspond to different technologies.

What is the suggested setup for using so many technologies?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Candy875

1 Comments

Sorted by latest first Latest Oldest Best

 

@Heady270

Most server technologies can be integrated with Apache. It is so popular largely because it is so flexible and configurable. Here is how you have to handle the technologies you mention with Apache:


PHP: Install a module in Apache that will serve PHP pages such as mod_php5. Place .php files into the web server root and they will be executed by the webserver
MySQL: You can call this from pretty much any language that you end up using. You'll just need the libraries to connect to it.
node.js: Run the node.js server on a separate port from Apache. Use mod_proxy as a reverse proxy to serve it through Apache.
Ruby on Rails: Just like node.js, run it on a separate port and use a reverse proxy

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme