this post was submitted on 28 Jun 2023
2 points (100.0% liked)

Selfhosted

62167 readers
289 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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

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

Questions? DM the mods!

founded 3 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

top 11 comments
sorted by: hot top controversial new old

Install docker for windows containers and play around and see what you can get running? I ran pretty much all the same containers as I do on linux when I was using windows server. 1GB of RAM is going to be the big limiting factor.

[–] hendrik@lemmy.ml 0 points 3 years ago* (last edited 3 years ago) (1 children)

I have little experience with windows (web)servers and more with linux.

I have no idea why someone would want to set-up or manage a windows server. It's just pain if you previously did it with linux. Everything sucks. Where to find log messages, how to upgrade a php version and get that used by the webserver, backup, maintenance, how to write short and useful scripts for maintenance, the mixture of config files and lack thereof, and it needs double the resources.

I wouldn't do it in my spare time. I'd rather work on a way to get that OS in that VPS replaced... (My personal oppinion.)

[–] aesir@lemmy.world 0 points 3 years ago (1 children)

Yes, that's also my feeling at the moment. Not an option to move to Linux unfortunately (it's a Microsoft offering for academic staff). I was hoping for some fun suggestions, If nothing comes to mind it will just become the backup server of the backup server or just stay off and save electricity.

[–] hendrik@lemmy.ml 1 points 3 years ago

lol. they're trying to lure you in. this server is bait.

[–] carl_dungeon@lemmy.world 0 points 3 years ago (1 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.

[–] Katrina@lemmy.blahaj.zone 0 points 3 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@lemmy.world 1 points 3 years ago

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

[–] aeternum@kbin.social 0 points 3 years ago (1 children)

protip: if you have RDP open, you WILL get hacked.

[–] aesir@lemmy.world 0 points 3 years ago (1 children)

Is it that bad? I mean, I am not much concerned myself as I would not leave the port open to anything but a small IP range, but I thought that the protocol was fine once a random long password is used.

[–] Katrina@lemmy.blahaj.zone 0 points 3 years ago (1 children)

No, use a VPN to connect to the server, then connect to RDP inside the VPN.

[–] GayCookie@lemmy.blahaj.zone 1 points 3 years ago

I would always recommend this, no matter what! Same with SSH, just keep this closed to the outside world!