How to Create and Configure Local Web Server?

Local Web Server is the computer with server operating system to host Websites. It runs network protocols and services to function entirely for running written codes by different programming languages and databases like MySQL or MSSQL Server. Creating such a server need more money, configuration skills and daily maintenance.

Well, to have a home web server for running your written script or testing content management system (CMS) like WordPress, Joomla, Drupal, you don’t need a reliable computer and web server operating system. All you need to do this to install a web development platform which contains PHP engine for running  Scripts and MySQL Server for using as database and Apache Web Server. These are all pretty enough for our home and Free Web Server Lab.

There are many web development platforms with the same functionality for creating a local web server. In this article, we try to use WAMP server. If you are a Windows user, you can use WAMP Server or XAMPP Server. For Linux user better to use LAMP Server or some alternative.

WAMP Server – Local Web Server

First download the WAMP server from here according to your operating system architecture. If your PC operating system is x64bit, so you must download 64bit version of WAMP server. To know your OS architecture, right click computer icon’s on desktop and click Properties. You can see what is your OS. See the screenshot.

Computer Information

When you click the download link a new popup page will appear. Just do as the instruction. Click the download directly link.

Download WAMP Server 64 bits

Download the setup files and two necessary updates if you don’t have already installed them on your PC.

When the download has complete run the WAMP Server setup file and continue by clicking Yes to run as administrator.

Welcome to the WampServer 2 Setup Wizard

Click next on the first page.

Web Server License Agreement

Accept the license agreement and click next.

Websites file directory

Chose which directory you want to install Wamp Server and click next.

Select Additional Tasks

Tick create a desktop icon on the select additional tasks and click next.

Ready to Install

Now click Install button in Ready to install page.

It takes a minute to extract all files. When extracting complete successfully, ask you to select a browser as default web browser for Wamp Server.

Web Browser

Just select each browser you have on your system and click Open. I’m using Google Chrome for this purpose.

Firewall Worning

Maybe Windows Firewall will ask you about allowing Wamp Server access to public network. In this page only click allow access and continue.

PHP mail parameters

Leave the PHP mail parameters page by default and click next.

Completing the WampServer 2 Setup Wizard

Finally click finish button to close the setup page.

Now the Wamp icon must appear to the Windows Taskbar.

Wamp Server Icon

Just click Wamp Server icon and open the Localhost link.

Home Web Server

This is the home page of your local Web Server.

As web developer or programmer you can can write and test your code locally, also install CMS and test your website before you lunch it publicly trough the internet.

Apache Web ServerConfigurationHow toInstallationLocalhostMySQLPHP EngineWAMP ServerWeb Server
Comments (2)
Add Comment
  • Mahdi

    Great guide. I installed the WampServer on my computer and it works properly.
    Thank you!

    • Shais

      Your welcome dear Mahdi and I’m glad that my simple article helped you.