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
7
What else you may like…
Videos
Podcasts
Posts
Articles
LCOS 1.0 is Locked, Loaded, & Ready for Release Nov 1st

The Lunduke Computer Operating System has: No Age or ID Verification. No Online Accounts. No Built-in AI Features. No Weird Politics.

Get your name in the LCOS About Window:
https://lunduke.locals.com/post/8288705/3-days-left-to-get-your-name-into-lcos-1-0-s-about-window

The Lunduke Computer Operating System:
https://lunduke.com/lcos.html

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

00:16:30
October 27, 2026
"Fk Open Source" Says Leaders of GNOME, Elementary, Others

"What we need is free software … which [is] anti-fascist, feminist, anti-racist, Igbtq+ inclusive, anti-capitalist, anti-imperialist, anti-genai, etc."

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

Lifetime Sub Sale, Plus Your Name on the LCOS About Window:
https://lunduke.substack.com/p/lifetime-sub-sale-plus-your-name

00:16:43
October 26, 2026
r/OpenSource Bans AI, Gets Criticized, Blames Lunduke

"If your project uses AI, is made by AI, or is intended for AI, it's not welcome on r/OpenSource," says Reddit Moderator.

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

Lifetime Sub Sale, Plus Your Name on the LCOS About Window:
https://lunduke.substack.com/p/lifetime-sub-sale-plus-your-name

00:08:06
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

RE: Anthropic Hacked....
[from article] The breach was not in Claude itself - the hackers exploited flaws in third-party business software, the kind of administrative and sales tools most companies run. The Post withheld the vendors' names.

Former DOGE Staffers Hacked Into Anthropic's Internal Systems In 12 Hours - And What They Found Is Alarming
https://www.zerohedge.com/political/former-doge-staffers-hacked-anthropics-internal-systems-12-hours-and-what-they-found

Wandering around YouTube ... Rank the "Programming" Laws
👨‍🔬 Maybe, you've seen these LONG AGO, and haven't thought about them in years.... If you're currently in DevOps, something might remind you of a "different" solution to try.

📺 Programming Laws Tier list - The Primeagen + TheStandup (YouTube)

Afterthought: When I began watching the video, I had find "an old idea" (by using Grok)....

Goodhart’s Law is the name of the principle you are describing.

The most widely quoted form is:

> When a measure becomes a target, it ceases to be a good measure.

People who design or run a system choose a measurement (test scores, sales numbers, response times, production counts, readiness rates, etc.) because it seems to track the system’s real purpose. Once that measurement is used to reward, punish, rank, or control people, those people optimize for the measurement itself. The overall performance of the system often declines even as the ...

October 25, 2026

I Actually Spied on My "Local AI". Didn’t Expect This! - YouTube

post photo preview
3 Days Left to get your name into LCOS 1.0’s About Window!

Holy imminent operating system release, Batman!

Three things worth knowing:

  1. Saturday, October 31st is the last day to get your name into the LCOS About Window by picking up a Lifetime Lunduke Journal Subscription.

  2. Saturday, October 31st is also the last day when Lifetime Subscriptions are massively discounted. (Crazy, how those two dates line up! What a coincidence!)

  3. Sunday, November 1st is the official release date for LCOS 1.0!

Want your name in the About window for the Lunduke Computer Operating System 1.0? You’ve got about 3 days left to make it happen!

Here’s what to do:

  1. Go to this page and pick up a Lifetime Subscription (aka “One Time Contribution with Lots of Perks”).

  2. Within a few hours, you’ll receive a confirmation email from yours truly with all the details.

  3. Reply to that email with how you want your name displayed in the LCOS 1.0 About Window (nick name, first name, or full name are all aok).

Just be sure complete step 3 before midnight (Central Time) on Saturday, October 31st so it definitely makes it onto the final LCOS 1.0 build! My advice? Do this by Friday, October 30th so there’s no chance you miss it!

Huge thank you to everyone who has been supporting The Lunduke Journal and LCOS! You make all of this possible!

-Lunduke

Image
 
Read full Article
October 17, 2026
post photo preview
LCOS 1.0 Ships on November 1st!

A release date has officially been selected!

The Lunduke Computer Operating System (LCOS) 1.0 will ship on November 1st… just two weeks from now!

A few quick tidbits worth mentioning:

Worth repeating: If you want your name in the LCOS About Window (see the screenshot below), you only have through October 31st to grab a Lifetime Subscription to The Lunduke Journal and make that happen.

Huge thank you to everyone who has contributed with both hardware testing and financial support. We’ve had absolutely tremendous momentum over the last few months, and that wouldn’t have been possible without all of you.

-Lunduke

 
Read full Article
October 13, 2026
post photo preview
LCOS 0.9.3 has Landed! Plus: How to Help.

The Lunduke Computer Operating System (LCOS) is flying towards the official, 1.0 release — with version 0.9.3 now available for testing!

Between now and 1.0, LCOS is laser focused on a) fixing bugs and b) making sure it runs (and runs well) on as much hardware as possible.

Right now, LCOS needs your help. Here’s how:

  1. Test the latest LCOS release on your hardware. Hit any snags? Report them on GitHub, the Lunduke Forum, or via DM on X.

  2. Donate to LCOS (and The Lunduke Journal), so that we can expand our hardware testing lab (among other expenses).

If you haven’t already, watch the LCOS Roadmap video, to get an idea for where we’re heading (in 1.0 and beyond).

Then check out this page, for details on how to support LCOS & The Lunduke Journal (and get your name on the LCOS 1.0 About window in the process).

A huge thank you to everyone who has already contributed (in both ways)! With your help, we are making LCOS into the best gosh darned system in all the land.

-Lunduke

Image
 
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