Quote:
Originally Posted by BobZ
The core difference between linux and windows hosting servers is essentially the web engine. Linux runs Apache and windows runs IIS (Internet information server). The web engine's primary role is to interpret your web site code and then provide your rendered web site to the end user.
The windows web engine, IIS, has native support to render Microsoft programming code. The linux web engine, Apache, will render most other code, except Microsoft programming code. Both web engines will render most web sites without any problems.
|
Just to clarify here,
rendering a web page for the end-user is the role of the browser, not the web server. I believe you are talking about interpreting scripting languages such as PHP or ASP into HTML that is then sent to the browser client. Technically, this is usually done by the compiler program, and is just facilitated by the server software (not sure with IIS and MS languages)- the job of an HTTP server is really just to the read the requested files off the hard drive and send them to the requester. In the case of a CGI script, PHP file, etc, there is an intermediate step. The server sends the file to an external process for interpretation/compilation/execution first, then sends the output to the client.
I don't have any experience running ASP.NET or any Microsoft technologies on Apache in Linux (using Mono I assume), but if I were a hosting company, I would definitely use Windows Server for running ASP or CF; perhaps virtually on a Linux host, for the reliability and stability of *nix.. sort of best of both worlds. Apache, of course, can run on Windows, but I'm not sure how it handles ASP and all that.