From Install To Running Web Server On Your Windows PC In Less Than 5 Minutes Using XAMPP

XAMPP Web Server Installation

This article covers how to download, install, and start your very own XAMPP web server on your computer.

XAMPP is a great solution for testing out new designs for websites, playing with new or unfamiliar website software or just temporarily hosting a site on your local computer.

It’s incredibly easy to install and I’m going to run through the easiest way to do so with the Windows installer package.

This article is for beginners, so those of you who’ve played with XAMPP before can probably skip it.

Downloading XAMPP

The best place to get XAMPP is from the official XAMPP project website. This is a guide for the Windows installer package, so we’ll just go right ahead and scroll to the the XAMPP for Windows section.

We’re after the installer package version of XAMPP for Windows as shown in the below picture:

Download XAMPP Installer package

This package is around 35MB, so it may take a little while to download if your internet connection is slow.

Installing XAMPP

Once you’ve downloaded the windows installer, run it.

Start XAMPP installation

Press next once you’re ready to proceed with the installation.

The next screen shows where you will install XAMPP. I recommend just leaving it as the default of c:\xammp. This way you won’t have any confusion about where to place your website files in upcoming tutorials.

Choose XAMPP installation location

Click on next to advance to the next screen.

At this stage, we’ll just go with the default options here instead of installing Apache and MySQL as a service, you want to just leave those unchecked.

By installing it as a service it allows you to configure your web service to start every time you boot up your computer. This isn’t something that is desirable for us as we’re going to be using it as a testing platform. For security reasons you don’t really want to have this running all the time.

Creating XAMPP icons

Press install and wait for the installation to finish.

Wait For XAMPP Installation To Finish

Press finish when you’re ready and XAMPP will ask you if you want to start the XAMPP control panel now.

Running XAMPP

Run The XAMPP Control Panel

Press yes, we’re going to discover how easy it really is to start and stop your web server on the fly.

Start Apache and MySQL in XAMPP

The XAMPP control panel is a handy little dashboard which lets you control when your web server and accompanying database are started and stopped.

Click on the start buttons for the Apache and MySQL services (these will probably be your most frequently used services).

Apache and MySQL running in XAMPP

That’s it! Now open your web browser and goto the address http://localhost/xampp. You should see something similar displayed.

Testing Your XAMPP Installation

Conclusion

Using XAMPP is a great way to take away some of the complexities that sometimes come with running a web server on your own computer. Never before has it been this easy to start and stop your very own server on the fly.

We’ll be testing out how to install various applications here on Code My Own Road in the future using XAMPP as our test platform. If you have any requests, let me know and I can always do a tutorial.

I’m currently planning on two installation guides for both WordPress and Joomla!. If you’re interested in either of these – or just want more entrepreneurial tips and technical tutorials – sign up for the Code My Own Road RSS feed!


About Josh Kohlbach

Josh is a programmer, entrepreneur and the founder of Code My Own Road. He started this website to help programmers with business stuff and also to get things straight in his head. You can read more about Code My Own Road and Josh on the About page

Trackbacks/Pingbacks

  1. Turn Your Own Computer Into A Website Test Bed With XAMPP | Code My Own Road - August 13, 2009

    [...] Installing XAMPP is dead easy on the Windows distribution as it comes with a Windows installer. [...]

Leave a Reply

Read more:
How To Setup Email Conversions Widget in Google Analytics

Here's a great article on how to setup a widget to show you how well your email newsletter signup forms...

Close