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
SteamOS Ditches X11 for Wayland

Valve's Arch-based SteamOS Linux distro (primarily for Steam Decks) has switched to Wayland by default to comply with KDE's upcoming "Wayland Only" policy.

Get on The Wall with a Massively Discounted Lifetime Sub:
https://lunduke.substack.com/p/50-off-yearly-and-massively-discounted

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

00:10:57
Islamic Terrorists Attack Disney+

The Iran & Hamas aligned "313 Team" is claiming credit for a Disney+ outage this evening. The same Islamic cyber terrorists previously attacked Ubuntu, Microsoft, OpenAl, Cloudflare, & others.

Get on The Wall with a Massively Discounted Lifetime Sub:
https://lunduke.substack.com/p/50-off-yearly-and-massively-discounted

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

00:08:37
The Commodore Smartphone Blocks Social Media & Browsers

An official Commodore flip phone. Which runs Android. But purposefully blocks Web Browsers and Social Media Apps. And disabled Touchscreen. For $550. Seriously.

And, yes. I misspelled "smartphone" in the title. Typing is hard.

Get on The Wall with a Massively Discounted Lifetime Sub: https://lunduke.substack.com/p/50-off-yearly-and-massively-discounted

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

00:19:32
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
4 hours ago

California passes new 10% on pre-written software sales.

The second tax increase would impose a new sales tax on digital software, including programs like Microsoft Office, QuickBooks, Slack, and Workday. This tax, starting at 7.25%, could vary depending on the region of California where the software is purchased or used. The measure is projected to bring in approximately $900 million annually for the state’s general fund.

https://www.kcra.com/article/california-lawmakers-tax-increases-health-insurance-digital-software/71620656

Over the years, Microsoft has made people angry. 😡 However, here is a case where "Microsoft Security Response Center" (MSRC) has made someone VERY ANGRY, and some of Microsoft's "failures" (aka. Negligent CyberSecurity Practices) are being put on the Internet for All to see.

"We Will Ruin Your Life" - Microsoft (RE CyberSecurity Response) - ThePrimeagen (YouTube)

post photo preview

Some time ago, I used Kiwix to keep the Stack OverFlow Q/A Posts in an Offline Archive.

🙄 I realized that I should update my Offline "Library" of FAQ Info, so I did some looking around....

[May 2026] Coding Agents Are Giving Everyone Decision Fatigue
https://stackoverflow.blog/2026/05/21/coding-agents-are-giving-everyone-decision-fatigue/

Can you reduce "Decision Fatigue" (with A.I. DevOps Tools) by "Constraint" or Limitation of Scope - so that you get Less Code to Manage with a Task/Process that is less complex?
https://grokipedia.com/page/Decision_fatigue

post photo preview
"C64" & "BeOS" Lunduke Journal Lifetime Walls open!

The “TempleOS” and “Macintosh System 1” Lunduke Journal Lifetime Subscriber Walls are full! Those suckers filled up in a single week! (You can check them all out at Lunduke.com.)

But, behold! The “Commodore 64” and “BeOS R5” Walls are now available to add your names to!

  • Windows 2000 : 2 spots left

  • Commodore 64 : Space available

  • BeOS R5 : Space available

 

Those last two spots on the Windows 2000 Wall won’t last long. And, honestly, I expect the C64 Wall to by full pretty quickly.

Don’t have a Lifetime Subscription yet?

Already have a Lifetime Subscription to The Lunduke Journal?

  • Email “bryan at lunduke.com” with which Wall you would like to be on, and how you’d like your name displayed (nickname, full name, etc.).

There are roughly 12 days left in June. How many Retro Computer themed Lifetime Walls can we fill up before the end of the month? Let’s find out!

Huge thank you to each and every one of you! You make The Lunduke Journal possible.

-Lunduke

Read full Article
post photo preview
Lunduke's Week in Tech : June 7 - June 13, 2026

It has been, yet another, weird and wild week in the world of Tech and Open Source.

Filled with awesome and inspiring stories (Linux logos on Race cars!)… mixed with bizarre, Woke politics and concerning technical news.

And, as usual, all but one of the big stories this week were completely ignored by the other of the Tech News outlets.

Here are the major stories from the last week, with direct links to X and Substack. You can also watch / listen on a bunch of other platforms (Rumble, RSS Audio Podcast, etc.), listed on Lunduke.com.

  • Rust-Based Malware Hits 1.4% of Arch User Repository (X, Substack)

  • Godot Game Engine Promotes Extreme, Pro-Trans "Pronoun Palace" Game (X, Substack)

  • GNOME in Damage Control Mode After Revelations from Ex Board Member (X, Substack)

  • Proton Mail Apologizes for Sponsoring "Far Right French YouTuber" (X, Substack)

  • Ex Board Member Reveals Corruption & Dysfunction at GNOME Foundation (X, Substack)

  • AI Generated Patches to Linux Kernel Hits New Record High (X, Substack)

  • Linux Logos on Racecars (X, Substack)

  • XLibre Turns One Year Old (X, Substack)

Huge thank you to all of The Lunduke Journal’s subscribers. You make all of this possible.

-Lunduke

Read full Article
post photo preview
TempleOS arrives on The Lunduke Journal Lifetime Wall

“When are you going to add a TempleOS Lifetime Wall??!”

I’ve lost track of the number of times I’ve received that request over the last few weeks. Well. What the heck! Why not?

There are now three Lunduke Journal Lifetime Subscriber Walls (displayed both on Lunduke.com and the end of all new shows) with space available:

  • Macintosh System 1

  • Windows 2000

  • TempleOS

 

A few quick notes:

  1. The Windows 2000 Wall, which was introduced only 2 days ago, is already about half way full. At the current rate, that one will likely be full by the end of the week. Still plenty of space on the Mac System 1 Wall.

  2. The discount on Lifetime Subscriptions ($125… discounted from the normal $300) runs through the end of June.

  3. One Lifetime Subscription = Name Listed on One Wall. These Walls are crazy popular and fill up super fast, so I have to put that limit in place.

  4. Want your name on more than one Lifetime Wall? Grab a second Lifetime Subscription (use the discounted rate) and you can have your name added to one of the Walls with space still available.

Massive high five to everyone who has supported The Lunduke Journal and made these retro-computer Lifetime Walls so much fun to do!

-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