Sunday, July 12, 2009

Deploy your own web server in 5 minutes

The steps here describe how you can use your existing PC/laptop to run as a web server.

Step1 : Install a server software on your computer. Windows XP Professional / Vista Buisness ships in with IIS , the server of Microsoft. Linux users can download Apache from http://apache.org .
Note that if you know ASP then IIS will be a better option for you. For PHP + MySQL users configuration of IIS or Apache will take some time so better download XAMPP application server from http://www.apachefriends.org/en/xampp.html . XAMPP can be easily configured using its UI.

For IIS just add a index.html file with any conten in it to the wwwroot folder.
For Apache users add a index.html file in htdocs folder.
If everything works fine you will see something when you type your ip address in your browser.


Step2 : Check if your IP address changes with each time you connect to the internet.If it happens so then you need to download and install a dynamic update client otherwise go to step 3.
For DUC Go to http://www.no-ip.com or search for some DUC providing companies.
Register there and download the client and install it. The client will ask for username and password with which you registered on no-ip.In the no-ip website , add a host and you will see the hostname in the client just select the host in the client.

Now to check whether the hostname has been mapped just type the name e.g.myname.no-ip.biz in the browser and you should see the index page.

Step3 : Now for better names than you have presently for your website just purchase a domain with your credit card or go to free domain providers like http://www.co.cc and register with them with a name . You can also use renaming services like dot.tk to map the small address to the no-ip one.

Now you hava a server deployed.

Please note that running a PC/laptop as server may result in slow connections for your users and continuous use of these systems without proper cooling mechnism is not recommended for critical operations.


No comments:

Post a Comment