Lunduke
News • Science & Tech
How to: Run a DOS-based Web Server (seriously)
Apache and Nginx, eat your heart out.
December 20, 2023
post photo preview

Apache and Nginx are great Web Servers. Linux and FreeBSD are fantastic systems for running them on. But… what if… we wanted to do something a little more... off the beaten path?

What if -- hear me out -- we ran a Web Server… on DOS?

Yeah. DOS.

It's doable. Truly it is.

And, while DOS may not be the high-up-time, massively scalable Web Server platform of the future… it's still a heck of a lot of fun to set up. Plus, it only takes a few minutes. At which point you can say to the world: “Hey! I ran a DOS Web Server!”

Which is a far more enjoyable thing to say than perhaps it should be.

We're going to use FreeDOS as the base operating system here. FreeDOS is a Free and Open Source, MS-DOS compatible operating system that is still (even nowadays) under active development.

But, never fear, it's still DOS.

Note: Some of this will also work in MS-DOS, but FreeDOS makes the process much easier.

Step 1) Install FreeDOS

  • Go to freedos.org and download the full .ISO for FreeDOS.
  • Then install FreeDOS.

If you have difficulty here, the FreeDOS team has put together step-by-step instructions (with videos, screenshots, the works). Luckily this should be a simple process for anyone who's installed an Operating System before.

For the purposes of this tutorial, I recommend installing FreeDOS in a virtual machine (QEMU or VirtualBox recommended) – that will simply make the networking component much easier. That said, all of this works great even on bare metal… provided you have supported networking hardware.

If you are installing in a virtual machine, set up a VM with 32 MB of RAM and a 500 MB hard drive. This should be plenty. Because… it's DOS.

Step 2) Install DOS Networking Software

Here's where some of the magic of FreeDOS makes things incredibly easy.

Reboot your DOS machine (or virtual machine) and make sure the FreeDOS installer .ISO is mounted (or the USB/CD is in the drive if you are using DOS on a physical PC).

Run the FreeDOS package manager application by typing:

FDIMPLES.EXE

(On a standard FreeDOS install FDIMPLES.EXE will be in the system path, so you can be in any directory when you run it. Otherwise it is, by default, stored in C:\FDOS\BIN.)

From the “Networking” section, select the following packages:

  • FDNET

  • MTCP

  • WGET

Then chose “OK” to install the packages. At this point you'll want to reboot to load everything properly.

Step 3) Install a Web Server

There are, believe it or not, multiple options for running a Web Server under DOS. Seriously. Not a joke.

In this tutorial I'll show you how to install two of them. Because… why not? You can install either. Or both. Follow your heart.

First, let's install Sioux – which is the more feature-packed of the two we look at here. Run these commands one at a time.

md sioux

cd sioux
wget http://www.georgpotthast.de/sioux/sioux.zip
unzip sioux.zip

Now let's install WebServ. Which, believe it or not, was written in BASIC. That's right. Follow this tutorial and you'll have run a Web Server. Programmed in BASIC. In DOS. (Kemeny & Kurtz would be proud.)

cd \
md webserv
cd webserv
wget http://rubbermallet.org/software/download/websv09b.zip
unzip websv09b.zip

Step 4) Run the Web Server

Note: Both Sioux and WebServ require ntcpdrv.exe to be run first. Luckily, ntcpdrv.exe is included with both and super easy to use. Just be sure to replace the IP, Netmask, and Gateway parameters (in the commands below) with the actual numbers for your DOS machine (you can find them when you first boot DOS).

To run Sioux:

cd \
cd sioux
ntcpdrv -ip=10.0.0.2 -netmask=255.255.255.0 -gateway=10.0.0.1
sioux.exe

To run WebServ:

cd \
cd webserv
ntcpdrv -ip=10.0.0.2 -netmask=255.255.255.0 -gateway=10.0.0.1
webserv.exe

All done!

That's it! You now have your very own DOS-based Web Server!

In order to test it out simply load up any web browser you like and point it at the IP address for your DOS installation (same IP that you see at boot time and that you used with NTCPDRV.EXE above).

Wham-o! You've done it! You've run your own DOS Web Server!

This is what the default page shipped with WebServ looks like (possibly the best default webserver page in existence):

community logo
Join the Lunduke Community
To read more articles like this, sign up and join my community today
8
What else you may like…
Videos
Podcasts
Posts
Articles
December 27, 2025
Torvalds on Vizio Ruling: Software Freedom Conservancy Looks Like "a Bunch of Incompetent Aholes"

Regarding a recent ruling, in SFC v. Vizio, Karen Sandler (SFC Director, former GNOME Director), responds to the Linux creator by saying "maybe you didn't read".

More from The Lunduke Journal:
https://lunduke.com/

00:20:10
December 26, 2025
Microsoft's Goal: Replace "Every Line of C" with Rust by 2030?

A Microsoft rep made the statement, saying the company would use Al to hit a target of "1 engineer, 1 month, 1 million lines of code". Then quickly went into damage control.

More from The Lunduke Journal:
https://lunduke.com/

00:26:05
December 23, 2025
Linux Foundation Makes $300 Million in 2025, Spends 2.6% on Linux, Says "AI is the Future"

In the Linux Foundation's 2025 annual report, AI is mentioned 150 times. Linux is only mentioned 40 times. Also: Linux Foundation boasts about scholarships to Trans & DEI orgs.

More from The Lunduke Journal:
https://lunduke.com/

00:10:57
November 22, 2023
The futility of Ad-Blockers

Ads are filling the entirety of the Web -- websites, podcasts, YouTube videos, etc. -- at an increasing rate. Prices for those ad placements are plummeting. Consumers are desperate to use ad-blockers to make the web palatable. Google (and others) are desperate to break and block ad-blockers. All of which results in... more ads and lower pay for creators.

It's a fascinatingly annoying cycle. And there's only one viable way out of it.

Looking for the Podcast RSS feed or other links? Check here:
https://lunduke.locals.com/post/4619051/lunduke-journal-link-central-tm

Give the gift of The Lunduke Journal:
https://lunduke.locals.com/post/4898317/give-the-gift-of-the-lunduke-journal

The futility of Ad-Blockers
November 21, 2023
openSUSE says "No Lunduke allowed!"

Those in power with openSUSE make it clear they will not allow me anywhere near anything related to the openSUSE project. Ever. For any reason.

Well, that settles that, then! Guess I won't be contributing to openSUSE! 🤣

Looking for the Podcast RSS feed or other links?
https://lunduke.locals.com/post/4619051/lunduke-journal-link-central-tm

Give the gift of The Lunduke Journal:
https://lunduke.locals.com/post/4898317/give-the-gift-of-the-lunduke-journal

openSUSE says "No Lunduke allowed!"
September 13, 2023
"Andreas Kling creator of Serenity OS & Ladybird Web Browser" - Lunduke’s Big Tech Show - September 13th, 2023 - Ep 044

This episode is free for all to enjoy and share.

Be sure to subscribe here at Lunduke.Locals.com to get all shows & articles (including interviews with other amazing nerds).

"Andreas Kling creator of Serenity OS & Ladybird Web Browser" - Lunduke’s Big Tech Show - September 13th, 2023 - Ep 044

After 20 years together (18 years married), I was finally able to get my lovely wife to watch Die Hard. She never had any interest because of how violent it was, but for whatever reason she was open to it this Christmas. I’m happy to report that she loved it! Yippee-ki-yay everyone. I hope you all had a wonderful Christmas, and have a happy New Year.

10 hours ago

Someone’s in the process of building a new X server in Zig.

December 26, 2025

Hey guys! It's been great hanging out with you all here on Locals, but I am going to switch over to the Lifetime Subscription offer, but on Substack so i can consolidate the sources I follow. I wish the best for you all here. Have a great New Year!

Reminder: The $89 Lifetime Sub deal ends after New Years Eve

Woah!

The end of December is almost here!

That means the “$89 Lifetime Lunduke Journal Subscription” deal is about to end!

When the ball drops on New Years Eve, and the calendar clocks over to 2026, the Lifetime Subscription price goes back to normal.

So, you know, grab one before that darn ball drops! (Then check out all of the Lunduke Journal Subscriber Perks.)

Because that deal is re-DONK-u-lous.

-Lunduke

Read full Article
December 21, 2025
Lunduke's Nerdy Q&A, Lifetime Sub for $89

Two quick tidbits on this glorious Sunday:

Reminder: $89 Lifetime Subscriptions

Lifetime Subscriptions to The Lunduke Journal are currently discounted to $89. For life. Which is… insane. That’s less than 1/3rd of the regular price.

Monthly and Yearly subscriptions are 50% off. Which is also pretty darned snazzy.

Submit Questions for Lunduke’s Nerdy Q&A!

On Tuesday I will be recording a long-overdue episode of “Lunduke’s Nerdy Q&A”.

Got questions you’d like asked in the show? No guarantees, but I’ll get to as many as I can!

Retro computing. Current computer news. Ridiculous hypotheticals. Any question is fair game... just make sure it’s good and nerdy.

To make it simple for me, there are two ways you can submit questions for this week’s Q&A:

  1. Add a comment to this thread on Forum.Lunduke.com.

  2. Reply to this thread over on X.

  3. Ok. I lied.  There are three ways.  You can also reply to this post, right here, on Locals.

Note: Only Lunduke Journal subscribers can access to Forum.Lunduke.com. All of the details on how to gain access are on the Lunduke Journal Subscriber Perks page.

-Lunduke

Read full Article
December 17, 2025
The FOMO of not having a Lifetime Subscription to The Lunduke Journal

Time for some Fun Lunduke Journal Facts of Fact-ly-ness!

  1. The “per-month” cost of a Lifetime Subscription to The Lunduke Journal is an asymptotic line. The longer you have that subscription, the closer it gets to $0.00.

  2. The Lifetime Subscription was first introduced 3 1/2 years ago… and is still going strong.

  3. The price of a Lifetime Subscription is currently discounted to $89. For life. That’s less than 1/3rd the normal price.

The earlier you pick one up, the quicker that asymptotic line begins approaching zero. Which is fun.

We Don’t Have Time Machines

If you think you might ever want a Lifetime Subscription, now is the time.

Imagine missing this discounted price and missing out on months of, mathematically certain, asymptotic line fun. This is one of those scenarios where Future You (tm) would want to travel back in time to tell Present You (tm) to snag a Lifetime Subscription.

Go. Grab the Lifetime Subscription for $89. That deal is good all December long.

There’s a video of me yammering about it too. Just for good measure.

You’re welcome.

-Lunduke

Read full Article
See More
Available on mobile and TV devices
google store google store app store app store
google store google store app tv store app tv store amazon store amazon store roku store roku store
Powered by Locals