How To Set Up Your Home Server By Using WAMP Software

There are times when you have thought about having your very own server in your very own space WAMP Software. Well, if this thought has always wrecked your mind on how to set up a home server and run it successfully without reading any tech forums, then you have accidentally but rightly landed on this page. In this post, we will show you, how with few simple steps you can set up your home server and your own web page that you bought online and that too from all the hardware that you already have. Don’t be surprised!

How to install WAMP on your home PC

In earlier times, in order to install and configure the Apache, IIS and the database software to make a web server work on your windows machine. Now with advancement in technology, you can just install a complete package that will configure everything for you in one go. This package is known as WAMP (Windows Apache MS-SQL PHP). In the case, you have a Linux machine at your home, then the software is known as LAMP (Linux Apache MS-SQL PHP). So, visit Google and start downloading the WAMP software for your machine from WAMP SERVER.

WAMP software allows a user to setup site in your home machines similar to the developers setting up on their production server. Once you have downloaded the software, you get access to directory name known as C:\wamp\www, which can be directly accessed by using http://localhost and any files and directory inside it by attaching that to the local host. For example, if you have a directory with name ‘user’ in my “C:\wamp\www,” then you can access it directly by “http://localhost/user”.

Below are the steps that will help you installing WAMP with virtual hosts:-

  • Before we start the installation process, the first thing that we need to make sure is that we have virtual host module enabled. In order to do so
    • Left click on the WAMP icon
    • Apache Module then Apache Modules
    • Vhost_module
  • Once the module is enabled, you can start with the setup. Visit your C:/ directory and open filename “C:\windows\System32\drivers\etc\”
  • Once it is open, add the following to it and click ‘save’:-
    • “127.0.0.1 local host”
    • “127.0.0.1 user.local.com

In case, you are not permitted to alter the file name, there is no need to panic. You can also copy paste the file on Desktop and later can modify it and then copy updated file to “C:\windows\System32\drivers\etc\”

  • Once this is done, the Apache needs to know the directory name to be contacted once you enter the website address “user.local.com”. To do this, we’ll add following entries to https-vhosts.conf configuration file inside “C:\wamp\bin\apache\APACHEVERSION\conf\extra\” directory.
  • Enter the below given details :-

# For local host to work properly

<VirtualHost *:80>

ServerAdmin admin@localhost

DocumentRoot “c: /wamp/www”

ServerName localhost

</VirtualHost>

# for user directory

<VirtualHost *:80>

DocumentRoot “c:/wamp/www/user”

ServerName user.local.com

</VirtualHost>

  • Once entered the information, go ahead and restart your WAMP server and you are done. You are ready to access the virtual host using your browser.

Congratulations! You are now on your way to disseminating yourself online forever.

Leave a Reply

Your email address will not be published. Required fields are marked *