Tired of developing code only? If you want to host your own website, this is the right place. In general, you can hire a domain with some fixed yearly rent to host your website or you can set up your own website at home computer with zero cost, with unlimited opportunity to develop, modify and upgrade your own website.Even if you are not a programmer geek, still you can use this to set up your first own hosted website to launch your ideas. Few simple steps and you’d be a proud owner of your website.
To do that, you need a web server, a database and a standard programming language on top of which you can start developing your own web content. WAMP – is a wonderful solution in this case. WAMP stands for Windows, Apache, MySQl & PHP. If you are using Linux OS, you can select LAMP – Linux, Apache, MySQL & PHP. It comes with a bundle of PHP, Apache & MySQL. Very easy to install and configure – are the key things to make it popular. Recently I started working on WAMP, but there are very less good tutorial on this. So I thought to write one.
Go to WAMP official website: http://www.wampserver.com/en/ and download the compatible package (based on 32 & 64 bits) as per your computer OS bit version requirement. I downloaded the package: wampserver2.5-Apache-2.4.9-Mysql-5.6.17-php5.5.12-32b (38 MB).
Below are the steps to install it in your system. Double click on the package.
Select your language and click OK.
Here you can see the corresponding versions of the separate softwares bundled within the package. Apart from Apache, MySQL & PHP, you can see PHPMyAdmin – which is a free software tool written in PHP, intended to handle the administration of MySQL over the Web. SqlBuddy is a Web based MySQL administration tool. XeDebug is a debugger and profiler tool for PHP. Click on Next.
Click on ‘I accept the agreement’ and then Next.
It will consume 443MB of your disk space in C drive. You can select your own location. Then click Next.
Select if you like to create Quick launch icon or Desktop icon. Then click Next:
Now it is ready to install. Click Install. It will take a while. You can have a short break in between.
You are almost done. Some minor steps are left.
Put your email address here. Now click Next:
Now you are done. WAMP is been successfully installed in your computer. Click Finish.
Double click on the Desktop icon of WAMP and look at the icon tray at right bottom of your screen.
Click on the icon, select the ‘Start All Services’ and click. The icon will turn green, once all the services are running. Now the database and webservers are up and running with PHP engine running at background.
If the icon is not turning green, just make sure port 80 is free. Click on icon, go to Apache menu, then to ‘Service’ sub-menu. Click on ‘Test Port 80’ option. Might be skype or other application is blocking the port. Open Task Manager and kill the application. Now start Apache service again. It will turn into green.
Now it is time for testing. Open your browser. type localhost:80 and hit enter.Bingo.
Now also test the MySQL UI. Go to menu option in icon tray and click on phpMyAdmin. The easy to operate database is ready and you can play with them.
Your server’s default folder is in C drive, C://wamp/www. All your web content will reside here. Lets see what we can explore. In www folder, there is a file index.php. You can modify it. But if you are not willing to do so, create a new file welcome.php and insert the following HTML tags:
<title> Welcome to WMP</title>
<?php echo ‘<a href=”http://www.swapratim.wordpress.com“>Techmatic on WordPress</a>’; ?>
Now open http://locahost:80/welcome.php. Click on again on WAMP tray icon. Click on ‘Put Online’ option. Now your own website in put online. Everybody can read your website. But now you need to check your IP address and from another computer or smart phone,just type http://YOUR_IP_ADDRESS:80/welcome.php. Your site is visible online.
So now you are done altogether. You can put web content in www folder and create your beautiful website. And that comes with a zero cost. If you want to do it for commercial purpose, just make sure your computer comes with more RAM and should run continuously. But that depends on your requirement of course.
Happy Learning ! 🙂