Wednesday, May 11, 2011

Hosting website on your own local pc

TAGS : How To Host Website on your own local Personal Computer Learn To Web hosting on your own Computer from home



Web Hosting From Your Own Local Machine. (very Easy)

I know that all want to opt for a free hosting company especially AstaHost but equally many people want to host their own website, totally free of cost with all sort of supports and software support like "ASP", "FTP", "phpMyAdmin", "MySQL", "phpBB" etc etc, and they simply do not know how to do it so they opt for a free web hosting company which displays irritating ads on the limited web space with a freehostingdomain.freehostingcompany.com/freemembers/you and also do not give you almost any support, now forget all that , you can host your own site on your own computer.

Requirements:
1. High speed internet connection (atleast a broadband)
2. Respectable computer (you will surely not need an itanium or xenon server, but atleast a P4 with 512B RAM)

You will have to:
1. keep your pc 24 hours on (after all you are the server and its your responsblility to maintain uptime, a few hours downtime does not matter if you are just hosting a very small site for your friends)
2. dedicate the computer to hosting ( you cannot play games and expect people to view your site simultaneously)

well you got every thing then lets go

step 1: web server
you will need a web serving software to listen to the HTTP ports and serve the pages to requests

i recommend a simple software like Abyss and i will demonstrate this tutorial with it.

1. download abyss from here http://www.aprelium.com/abyssws/download.php

2. install it (its very easy and self explanatory)

3. now you will see a blue colored icon in you system tray right click and click console, you will be asked for username and password, enter the credentials you gave when abyss was getting installed.

4. your hosting directory will be %abyss path&\htdocs
eg if you choose the default option it will be C:\Program Files\Abyss\htdocs

5. paste your site files and all the directory structure here. (it should have atleast one index.html page)

6. now to view you page wich is hosted on your computer you have to enter your ip (not 127.0.0.1, its your localhost ip, and you cannot view pages over the net with this ip, so do not go around giving this ip to your friends.)
see the http://www.abyssunderground.co.uk/beginner-accessing.php page for more info

7. go to http://www.abyssunderground.co.uk/ip.php to find out your ip now copy paste the real ip in you browser and voila you have your website ready

8. now to give some respectable name go to freedomain.co.nr and register so that you have some site such as you.co.nr

9. now enter you.co.nr and you will be serving pages, should your ip change go the member page on freedomain.co.nr and get the dynamic ip update link

step 2: installation of server support

1. go to http://www.abyssunderground.co.uk/tutorials.php and install all the available support through the self explanatory tutorials.

2. remember to do this step after installing php
http://www.abyssunderground.co.uk/aw...ysql_extension

3. you now have PHP, MySQL, phpMyAdmin, Ruby, Perl, Python, FTP, phpBB, and ASP support for you site

you can enhance you site to the max and the the capability of enhancement are high,

opt for an more professional web server like Apache if you plan to serve better pages...

work on Linux servers they are more secure and useful.




Enjoy The Website hosting from  your home Local Server computer !!





No comments:

Post a Comment