Windows 10: VM web hosting --IIS, Apache or NGINX Solved

  1.    15 Aug 2017 #1

    VM web hosting --IIS, Apache or NGINX


    Hi folks

    I'm starting in the area of web servers which I want to test on a local VM first - seem to me 3 contenders for this - IIS (Windows), Apache and NGINX (both Linux)

    I know something about Apache, and a teeny bit about IIS -- however there's some excellent write ups about NGINX.

    Anybody here tried that one and can compare it with the other 2 --ease of setting up, speed, security etc.

    I'm posting this here rather than on a Linux board as a lot here run Linux both as HOSTS and VM's and also (obviously I hope here ) run some sort of Windows too -- usually saying anything about Windows on a Linux forum just gets met with a torrent of abuse rather than a sensible discussion.

    Any help here appreciated -- I have my own domain but I want to test locally before I decide on what hosting service to pay for --some very good cheap hosting plans out there (get your own domain first though) but if I choose the wrong OS I'm hosed - so that's why I want to play with this stuff on a local machine first.

    For VM's I've got unused W10 Pro and W7 Enterprise licenses so I could try for IIS and Linux is free so no probs there.

    Cheers
    jimbo
      My ComputerSystem Spec

  2.    15 Aug 2017 #2

    A lot comes down to your workload. Obviously a .NET application is going to be served via IIS.

    Apache has been the long standard. Nginx is used very heavily in the corporate realm. Amazon AWS uses Nginx pretty heavily itself, using it as the backend of Elastic Load balancers. Of course, within AWS you don't actually interact at all with the Nginx server, you utilize the AWS console as well as the API and command line tools.

    If it were me, I would start with Nginx.
      My ComputerSystem Spec

  3. Bree's Avatar
    Posts : 8,564
    10 Home x64 (1803) (10 Pro on 2nd pc)
       15 Aug 2017 #3

    jimbo45 said: View Post
    I'm starting in the area of web servers which I want to test on a local VM first - seem to me 3 contenders for this - IIS (Windows), Apache and NGINX (both Linux)

    I know something about Apache, and a teeny bit about IIS -- however there's some excellent write ups about NGINX.

    Anybody here tried that one and can compare it with the other 2 --ease of setting up, speed, security etc.
    For a Windows-based Apache I use WampServer.
    http://www.wampserver.com/en/
      My ComputersSystem Spec

  4.    15 Aug 2017 #4

    Haven't used NGINX, but I've use both Windows and Linux hosting and I prefer Linux (LAMP). As far as your VM, Ubuntu Server is probably the easiest to setup.

    I use WampServer on Win10 Home for my development server :)
      My ComputersSystem Spec


  5. Posts : 384
    Ubuntu 18.04, win 10 pro
       15 Aug 2017 #5

    Apache can do almost everything, more versatile, more modules ...
    NGINX is for more specific applications but to do all things that apache can do you
    will have to code whats laking yourself, they can be used together (apache + NGINX),
    IF you'll need nginix extra boost.
    I would say use apache and when (and IF) you'll hit performance issue then start thinkink about nginx.
      My ComputerSystem Spec

  6.    19 Aug 2017 #6

    Hi everybody

    Thanks for your replies

    I think as I'm starting in a small way and have decent Linux experience I'll go with LAMP (Linux, Apache, MySQL . PHP). I will be using the website for my Custom Vinyl Record service which is beginning to need a bit more sensible admin than "Snail Mail". The volumes will be small to start with -- so converting later might be an option --.

    I'll use a bespoke Shopping cart application-- I can get a decent secure SSL subscription for about 75 USD a year -- these days especially if you want to use Paypal / credit card receipts you will need HTTPS plus encryption -- otherwise things can get hacked and when there's money involved you can never be too careful. It probably is best to stick with a system one has some experience with rather than try a new system - especially if you want customers on your site !!!!

    I'll keep CENTOS as the OS for the web site server -- that OS I have experience with and can replicate the site at home.


    Once I'm up and running I'll post the site !!

    Cheers - and thanks

    Jimbo
      My ComputerSystem Spec


  7. Posts : 384
    Ubuntu 18.04, win 10 pro
       19 Aug 2017 #7

    jimbo45 said: View Post
    Hi everybody

    I think as I'm starting in a small way and have decent Linux experience I'll go with LAMP (Linux, Apache, MySQL . PHP).
    If possible consider using PostgreSQL (that would substitute MySQL), I find it a very mature and professional DB software.

    jimbo45 said: View Post
    Once I'm up and running I'll post the site !!
    nice
      My ComputerSystem Spec

  8. z3r010's Avatar
    Posts : 6,953
    Windows 10 Workstation x64
       19 Aug 2017 #8

    Jimbo, if your using CentOS then have a look at CentminMod.com LEMP Fully Optimized Nginx web stack for CentOS the guy behind it is really good.
      My ComputersSystem Spec

  9.    19 Aug 2017 #9

    z3r010 said: View Post
    Jimbo, if your using CentOS then have a look at CentminMod.com LEMP Fully Optimized Nginx web stack for CentOS the guy behind it is really good.
    Hi there
    @z3r010
    Thanks Great Info.

    I'll have a go with that too.

    Looks great -- that guy seems very professional too --- great thing about VM's is one can try different solutions !!!

    Cheers
    jimbo
      My ComputerSystem Spec


 

Related Threads
Hi my name is Lukasz and I need help, I need a free web-host 1 GB, webhost has to have a cpanel phpmyadmin and mysql and php extension and a ftp. I also need a free host for unrealircd server, I also need a tutorial on how to setup unreal ircd...
3 BSOD in a few days of MSI Apache PRO in BSOD Crashes and Debugging
Just using my computer normal had 2 or 3 BSOD in the last days, I bought this new MSI Laptop expecting to perform great, and the only reason I didn't get so stressed is because you guys were always able to solve my BSOD in the past, I hope you can...
I installed W10 on a W7 PC last weekend. Every time I bring up FireFox I get a Apache Tomcat 404 error. According to Google, it is some kind of Java development tool. I thought I knew aIl of the apps on my PCs but apparently I don't. This one is...
Services Apache & MySQL won't run in Software and Apps
My Windows 7 Pro machine correctly ran Apache and MySQL servers until I accepted the free "upgrade" to Windows 10 Pro. Now the services won't stay running. I had previously installed the IndigoAMPP 9.04 distribution from IndigoStar software,...
Apache Cordova and WinJS in Windows 10 News
Read more...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 13:45.
Find Us