You might not have ever thought about it but every time you look at a web page that page has been served to you by a computer somewhere.
This serving is not all that complicated and the average desktop could probably do it.
In fact by downloading a copy of Apache you can have a go at running a web server on your own computer. If you are reasonably confident with configuring your router and firewall you could even consider hosting your blog from it provided you have the right connection for the traffic you may receive.
Personally I like to have my blog in a powerful server in a data centre with all sorts of expensive back ups but with a little jiggery-pokery there is no reason why you couldn’t serve it from home.
But all that aside let’s just look at setting up a webserver to play with.
I shall assume generally that you have Windows XP and a basic grasp of the things I am typing about. If this is not the case then you might want to ask questions. That’s cool too.
So grab yourself a copy of the Apache Server for Windows.
Actually it is nowhere near that simple. You must choose between three versions (1.4, 2.0 or 2.2) but I’ll save you some time and let you know that 2.x is the developmental line and while 2.0 and 2.2 do not play the same both should be fine for a little play. You will also be fine with 1.4 especially if you want to let the outside world in.
Your best bet is to grab this little package: wampserver. WAMP stands for Windows, Apache, MySQL and PHP. Without much fuss you should be able to run a whole host of programs. You will find you have Apache 2.2 with this package so I’m guessing at has come on a bit since I last tested it.
Install it if you wish or pretend you have and read on.
Once in place you should have a folder inside of which is your http root folder. Anything inside this can be navigated to via a webbrowser. Open up your favourite browser and punch localhost into the address and have a look.
(If you actually bother to install a WAMP package the help file is a bit more impressive than that last paragraph).
Now you can look at HTML pages all you like.
Isn’t that cool.
What do you mean you could do that anyway?
Actually it’s true. Looking at a HTML document in a browser is no big deal - any fool can do it.
It’s what else you can do that starts to get cool.
If you have already installed the WAMP package you have the ability to run over 4,000 packages Listed Here and if you fancy grabbing PERL for your PC then you get access to another 4K of packages here and you can interface with some C libraries you happen to have written (you never know).
The same is true for python (sometimes used to script webpages) or C/C++/C# which you can run as CGI too. So if you want to go a litle OTT and play with everything but Ruby try this where I understand you can download for free or buy a regular copy.
While we are going silly you can also try PostgreSQL as the second most popular free database system.
Suddenly you can try out every last (free) CMS and Blog package on the planet. Expect to pay an arm and a leg to have a web host give you all that which while seemingly strange due to the fact I’m telling you that it’s all free I’d bet you spend a day grabbing it all and a few hours every month grabbing updates. You see, even with free software people’s time is still expensive.
Personally, for example, I run just LAMP with MediaWiki on a personal intranet (webserver over my local area network of two PCs and a laptop). This allows the family to keep track of common notes.
For those that are wondering the PC running the webserver had 256MB of RAM, 2800+ Sempron and a 40GB HDD. Not exactly top end stuff these days.
It is good safe fun and the perfect environment to learn to write basic web scripts in. That’s where I do most of my work these days - yes my test server is the same PC that I write my business letters on and do the accounts with.
As I said earlier it’s not that complicated.
Any comments, tips, suggestions or cries for help can be posted in the comments or emailed to me.
Written by Lord Matt as a guest article.

If you liked this post, buy me a coffee!