this post was submitted on 28 Jun 2023
12 points (77.3% liked)

Selfhosted

40788 readers
924 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

Hi, I can spin up for free a Windows VPS (win server 2016 with graphical interface or win server 2022 core version since it has only 1GB of RAM). The problem is that outside of Linux I have absolutely no experience. I would like to try hosting something also on Windows server just to take away some load from other machines or even just to learn something new.

Therefore I have the following questions:

*Is there any starting resource for windows selfhosting you can recommend? I would love if a list like the awesome selfhosted existed for services that can run on windows.

*Is there anything non-enterprise for which a windows server would provide any advantage over Linux?

*Does anyone self hosts on windows server? Can I ask what you use it for?

Thanks

you are viewing a single comment's thread
view the rest of the comments
[–] carl_dungeon 8 points 2 years ago (2 children)

In my experience, there’s a reason most things on the internet are not hosted on windows.

That said, you’ll want to look at IIS as a starting point.

Honestly, I think you’d be better served learning/understanding docker and just get that up and running in windows to host stuff instead. Managing windows hosting is a bizarre mix of hoping between quasi gui property windows and control panels.

[–] aesir 1 points 2 years ago (1 children)

I totally agree. If I could choose, I would have preferred my seventh personal Linux server instead of a windows machine but that's what Microsoft offers to me. I fear that Docker, which I use all the times on Linux, would probably have too much overhead on windows. I still have to deal with a small size VPS. I have not many chances to run a Linux VM on top of windows to host docker and expect to have resources left to run a container with it in 1 GB of RAM.

I will defined look into IIS for web server/reverse proxy though. Thanks.

[–] binkbankbonk 0 points 2 years ago (1 children)

Windows isn’t typically meant to run manually installed web servers or apps that would also run on Linux.

For example, unless you’re Microsoft you wouldn’t set up IIS just to run a web server and manually configure it all unless you had a good reason.

Microsoft Windows Server absolutely excels at this though - Apps built for Windows. If an app is built for Windows then you typically don’t have to do the manually fiddly stuff like authentication and database setup. It will typically do it for you. It will just be an Exe you run and click next next and you’re done.

So I would recommend one of the following

  • run a Windows Server Core (headless) and have docker/kubernetes inside it.
  • run windows server (maybe core headless depending on app) and find an app worth trying that’s made for windows.

The best example app I can think of that is made for Windows that would need Windows Server and is so simple to install is PRTG or Veeam B&R. Both huge apps in Enterprise and both only run on Windows.

[–] aesir 1 points 2 years ago

Thanks, this is an excellent answer.

[–] [email protected] 1 points 2 years ago (1 children)

Just bear in mind that microsoft.com is hosted on Linux. If Microsoft don't host their own website on IIS, why would anyone else?

[–] carl_dungeon 2 points 2 years ago

Yeah exactly. Also: there’s more Linux on Azure than windows, and AWS hosts more windows than all of Azure.