How can i setup a webserver at home?

Scrat

New Member
Hi, i'd like to setup a webserver at home on one of my PCs so that i can host files for download at a website..... Post a link on a website so that people can click on it and download the file straight from my computer.

I wanna set it up on the pc in my sig, which is connected to the internet (ADSL) via my Belkin 54 wireless router.

Could you please tell me how i can do this?

thanks

EDIT: what protection would i need? i have norton internet security / antivirus running at pressent.
 
Last edited:
Yeah... i tried it but couldn't get it to work. Kept saying there was a problem with the ports and wouldnt start the server :(
 
easy way:
install bizzar server - that comes with php and mysql, from http://www.bizzarserver.com/
install it, then from the start menu group if you want it to run all the time click "apache install service" and then "mysql install service" if you want them to run temporarily click "apache manual start" and "mysql manual start".

Once that's up go to localhost in your web browser, you should see an apache file list, this is whatever is in c:/web/htdocs

Then just forward port 80 in your router to your computers IP address, and voila, go to the external IP and it directs to your PC (this doesn't always work locally though)

edit: for extra security edit config.inc.php in the phpmyadmin folder so that the value of the auth type is either http or cookie, leaving it set as config will mean anyone can access your mysql server
you shange it to this:
PHP:
$cfg['Servers'][$i]['auth_type']     = 'http';    // Authentication method (config, http or cookie based)?
On line 83.

And the default username and password for the mysql server are:
Username: root
Password: *blank*
 
Last edited:
Back
Top