TechnologicalByte's Website

  Home  |  About  |  Tech's Repository  |  Tech's Blog

Why did I move to nginx from IIS?
Posted on August 4, 2023 at 2:00 AM.

(return to Tech's Blog)

Simple and efficient.

For about 2 days, I've been working on transitioning this site from using Microsoft's Internet Information Services (IIS) to nginx in which I have multiple reasons on doing so, hence why I made this post!

1. Simple to set up

I mean, both nginx and IIS are simple to set up, but how simple is it? After installing IIS and seeing the sample website of just a static clickable image that redirects you to IIS, getting my site's files onto IIS was a bit tricky, on which I ran into many errors along the way, from conflicting permissions, to HTTP errors, just to name a few. Now, my goal with my website is that I want it to show on some older browsers and not just modern ones, I had to do some many reconfigurations with IIS for my site to work with it. With nginx, it's simple as doing some line of text changes and pointing the source files and boom, it's live without any hassle (though, I had to export my certificate from IIS for nginx to work with https).

2. It's efficient

As I said earlier, I did ran into some problems with IIS, from weird error messages which you can see below and some internal things that took around 10 minutes or so to fix. I don't want to deal with such issues again, since the only goal for IIS was to simply host my website without the fuss. As of me writing this blog post, I haven't run into any issues with nginx so far. In fact, when my VPS experienced a network outage that also impacted other users and when my VPS was restarted, there were some strange errors (that I was able to fix) with IIS, saying stuff like, unable to start the W3SVC service and many cryptic errors, which was the first thing I did when I woke up and refreshed myself.

(A HTTP 401 error message due to a

weird error that took minutes for me to fix)

 

Now, I have completed the move and on this point forward, will be using nginx to host my website on my VPS. When my break from Discord starts on Saturday, I may use the time to do more work on my website, but only time will tell!

 

 

Good night!

TechnologicalByte


My socials, cuz why the heck not:

Other stuff:

This is my website!

Website's changelog for you curious minded people out there! ;)

Copyright 2023, 2024 TechnologicalByte