Home > How-To > How to Set Up a Home Server Using Old Laptops or PCs (2026 Guide)

How to Set Up a Home Server Using Old Laptops or PCs (2026 Guide)

I had an old laptop sitting in a drawer for about two years. Screen was cracked, battery barely held a charge past twenty minutes, and I kept telling myself I’d “fix it up and sell it” someday. That someday never came. What actually happened is I plugged it into the wall, closed the lid, and turned it into a home server — and it’s been running quietly in a corner of my house ever since, backing up files, hosting a media library, and doing a few other jobs I used to pay for with monthly subscriptions.

If you’ve got an old laptop or desktop gathering dust, this is genuinely one of the more satisfying weekend projects you can do with it. You don’t need server-grade hardware or networking experience. You just need a machine that still turns on and a bit of patience for the setup.

What You Can Actually Use a Home Server For

Before we get into the how, it’s worth knowing what you’re building toward, because “home server” means different things to different people. Some of the more common uses:

Storing and backing up files from every device in your house in one place, instead of scattered across phones, laptops, and random USB drives. Running your own media server so you can stream your movies and shows to your TV or phone without relying on a streaming subscription. Hosting a personal cloud, basically your own version of Google Drive or Dropbox, minus the monthly fee and minus anyone else having access to your files. Running smart home automation software so your devices talk to each other faster and don’t depend on some company’s servers staying online. Or just tinkering — a lot of people build a home server purely to learn how servers, networking, and Linux actually work.

You don’t have to pick just one. Most people start with one use case and end up adding more once they realize how much a spare machine can actually do.

What Kind of Old Hardware Actually Works

Here’s the good news: you really don’t need much. A laptop or desktop from the last 8-10 years will handle most home server tasks without breaking a sweat. The things that actually matter:

RAM matters more than most other specs. Aim for at least 4GB, though 8GB gives you more breathing room if you want to run multiple things at once. Storage is the other big one — the internal drive is fine to start, but you’ll likely want to add an external hard drive fairly quickly once you start storing media or backups. A wired ethernet connection is worth prioritizing over Wi-Fi if the machine has the option, since it’s more stable for a device that’s going to be running 24/7. And honestly, the processor matters the least of all these. Even an aging dual-core chip can comfortably run a basic file server or media server.

If the laptop’s screen is cracked or the battery’s dead, that’s completely fine — arguably it’s even a bit of a bonus, since you’ll usually be running it “headless” (no monitor, no keyboard, just accessed remotely from another device) once it’s set up anyway.

Setting It Up, Step by Step

Wipe It and Start Clean

Whatever’s currently installed on that old machine, back up anything you need and then wipe it. You want a clean slate, partly for performance and partly because you don’t want years of old junk software running in the background eating up the limited resources you’re working with.

Pick Your Operating System

This is probably the biggest decision in the whole process, and it depends on how comfortable you are with tinkering.

If you want something beginner-friendly, a lightweight Linux distribution built for exactly this purpose is usually the easiest route. There are versions specifically designed to turn old hardware into a NAS (network storage) or media server with a simple web interface, so you’re not stuck typing commands into a terminal the whole time.

If you’re comfortable with a bit more of a learning curve, a standard Linux distribution gives you full control and lets you install whatever server software you want on top of it. It takes more setup time upfront but gives you more flexibility long term.

Whichever you pick, avoid running a full desktop version of Windows as your server OS if you can help it — it’s heavier, needs more resources, and isn’t really built for this kind of always-on background use.

Install the Software for What You Actually Want It to Do

Once the OS is running, this is where you add the actual functionality:

For file storage and backups, look at self-hosted cloud storage software — there are several solid free options that give you a private, password-protected space to upload and access files from any device. For a media server, there’s dedicated software built specifically to organize and stream your movies, shows, and music to any device in your house, including your TV. For smart home use, there’s automation software that lets your devices communicate locally instead of routing everything through a company’s cloud servers, which is both faster and more private.

Most of these run as what’s called a “container,” which basically just means they’re self-contained pieces of software that don’t interfere with each other, even if you’re running several at once on the same machine.

Give It a Fixed Address on Your Network

By default, your router hands out a slightly different address to each device every time it connects, which is a problem for a server since you need to reliably find it. Go into your router’s settings and reserve a fixed local address for your server’s network card. This way, whether you’re accessing it from your phone, laptop, or smart TV, it’s always in the same place.

Set Up Remote Access If You Want It

If you only ever need to access your files while you’re home, you can stop here. But if you want to reach your server from outside your house — say, streaming your media library while traveling, or grabbing a file while you’re at work — you’ll want to set up secure remote access. There are a few solid approaches here, ranging from simple mesh networking tools that just work out of the box, to more advanced setups involving your router directly. If you’re newer to this, start with the simpler mesh networking option; it avoids opening up ports on your router, which is generally the safer route for a beginner.

Lock Down the Security Basics

Since this machine is going to be running constantly and potentially accessible from outside your home network, a few basics are worth doing properly from day one: change every default password the software ships with, keep the operating system and any installed software updated regularly, and if you’re exposing anything to the internet, stick to the more secure remote access methods mentioned above rather than opening ports directly unless you really know what you’re doing.

A Few Things I’d Tell You Before You Start

Your first attempt probably won’t be perfectly configured, and that’s fine — most people rebuild their setup at least once after they figure out what they actually want it to do. Start with one use case, get comfortable with it, then layer more on top once it’s running smoothly. And keep an actual backup of anything important that lives on this server, ideally on a separate drive. A home server is great, but it’s still one machine, and hardware fails eventually — don’t let it become your only copy of anything irreplaceable.

Is It Actually Worth Doing?

If you’re already sitting on hardware that would otherwise go to a drawer or a landfill, yes, pretty easily. You’re trading a bit of setup time for something that quietly saves you subscription costs, gives you control over your own data, and honestly, teaches you a decent amount about how networks and servers work along the way. It’s not going to replace a proper enterprise setup, but for a household, it does more than most people expect from a machine they were about to throw out.

Questions People Usually Ask Me About This

Do I need to know Linux to set up a home server?

Not really, not for the basics. A lot of the beginner-friendly server operating systems come with a web interface, so you’re clicking through menus rather than typing commands. You’ll pick up bits of Linux naturally as you go if you stick with it, but it’s not a requirement to get started.

How much electricity does running an old laptop 24/7 actually cost?

Less than you’d think, especially with an older laptop, since laptops are generally built to be power-efficient. A desktop tower running constantly will use more, but it’s still usually a modest monthly cost, well below what you’d pay for equivalent cloud storage or streaming subscriptions.

Can I use a laptop with a broken screen or dead battery for this?

Yes, and honestly it’s almost ideal, since you’ll typically be running the server “headless” without a monitor attached anyway, accessing everything remotely from another device on your network.

Is it safe to access my home server from outside my house?

It can be, as long as you set it up properly. Stick to more secure remote access methods rather than opening ports directly on your router unless you’re experienced, keep everything updated, and use strong, unique passwords on anything connected to it.

What’s the difference between a home server and a NAS?

A NAS (network-attached storage) is really just one type of home server, specifically focused on storing and sharing files. A home server can do that too, but it can also run media streaming, smart home automation, and other services all on the same machine.

How much storage do I actually need?

It depends entirely on what you’re storing. If it’s mainly documents and photos, the laptop’s internal drive might be enough for a while. If you’re planning to store a media library of movies and shows, you’ll want to add an external hard drive fairly early on, since that adds up quickly.

Can I turn my server off when I’m not using it?

You can, but most people leave it running continuously, since that’s what lets you access your files or stream media at any time without having to remember to switch it on first. The power cost of leaving it running is usually small enough that it’s not worth the inconvenience of shutting it down.

What happens if the old hardware eventually dies?

This is exactly why keeping a separate backup of anything important matters. If the machine fails, you set up a new one with a fresh OS install, restore your backed-up data, and you’re back up and running. It’s a good reminder not to treat any single machine, home server included, as your only copy of anything you can’t afford to lose.