FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


simple webserver on cable line.





chakwal
* * * Note! * * *
My ISP lets me run a webserver... yours might not. Dont get your net cut because of this. None of this is my fault. this is just one simple way of doing it i know you can do it on a linux box or a linux live distro blah blah blah

* * * What We'll Need * * *
Dns.
Hostname.
Server.

* * * IP CHANING PROBLEMS * * *
Ok, the first problem is how do you host a website if your ip keeps changing? simple. Noip or any of the others out there, will go with no ip because its simple. Goto http://www.no-ip.com/ and sign up (its free dont worry I wouldnt do that to ya) then be sure to install there little client software as a service. It will update your ip every time it refreshes.

* * * NEED A WEBSERVER!?!?! * * *
Damn MS's IIS isnt an option right now if only there was.... APACHE! god bless GNU and the rest of those freeware SOB's
ok lets go get'er! http://httpd.apache.org/download.cgi install and goto http://localhost and you should see something like....
"..Seeing this instead of the website you expected?.." bam good job shes installed!...only with the default stuff but its a step in the right direction. Ok so how do we put our own simple site on there?! Goto C:\Program Files\Apache Group\Apache2\conf (or the conf dir where you installed Apache) and open up the httpd.conf and goto the line whare it says <Directory "C:/Program Files/Apache Group/Apache2/htdocs">, now make a dir whare ever you want C:\website,C:/Program Files/Apache Group/Apache2, whare ever and make a dir with what ever name you want. Lets use C:/Program Files/Apache Group/Apache2/test
now in the httpd.conf change that line so it says C:/Program Files/Apache Group/Apache2/test

* * * HELO WORLD INDEX.HTML * *
Move your way over to that dir now make a new txt file as index.html (make sure its .html and not index.html.txt ) [ you might have to open a dir window and goto tools>folder options>view and uncheck hide file extensions for know file types. now right click and goto edit and add this into that file...
<html>
Hello World
<html>
And save and close. Now right click and open with IE/Firefox/what ever you use to make sure it works. Bam, simple. Now move that file into the dir you created...the test dir if your fallowing this tut word for word. Now goto http:\\localhost and bam. Hello World. Now we can goto techforums.servehttp.com or what ever else you got from noip and do it that way... woohoo it works externaly too

* * * WHAT IF I PUT THIS BOX ON AN EXTERNAL IP WONT IT GET "P0W3N3D?!" * * *
Well probibly, sab but true. In the words of Morphius "I can only take you to the door your the one who has to walk threw it" (or something to that effect)....buuuuut I wouldnt leave you compleatly helpless now would I? nah, didnt think so eather. Ok, so lets put a firewall thats got a builtin IDS and other goodies that Im to lazy to type right now! http://www.kerio.com/us/kpf_home.html is simple/complex and just plain neato! fallow the install and its pretty simple it just blocks all ports and you tell it what services you want to run and it opens the ports one way or the other or boath. its "krad".



* * * DOMAIN NAME * * *
Ok so now you have something like example.servehttp.com, not bad but not ever "31337" if you will. How about your own name? so lets goto http://www.dot.tk/ and get a free .tk! ok now we have www.teckforums.tk (its just an example calm down mods) then just link one site to the other with CNAME and your good.

* * * CLOSING * * *

Alright this tut is simle I know, its here to just give you an idea on howto do it. Each part of this tut will take some indepth reading but not to much I'm lazy too. If you need help or what ever pm me or post problems and ill try and help ya out.
Related topics
XAMPP - All-in-One WebServer package
Internet Bandwidth
Vaid CSS
Bandwidth for Webserver.....
Computers at school
Bush's Border Buffoonery
Test your Internet Speed
Operating cable cars
c++ object design help
Long range wireless internet...
Internet Connection....
Volunteers to go on Mars with no return
Do u know why 0 is called 0
Daily Song Thread 2
Reply to topic    Frihost Forum Index -> Miscellaneous -> Tutorials

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.