Computer ForumsComputers  

Go Back   Computer Forums > Member Reviews & Tutorials > Tutorials

Reply
 
LinkBack Thread Tools Display Modes
Old 12-30-2004, 12:37 AM   #1 (permalink)
Super Techie
 
Join Date: Jul 2004
Posts: 309
Send a message via AIM to s0me0ne Send a message via Yahoo to s0me0ne
Default simple webserver on cable line.

**************************************************
SiMPLE WEBSERVER SETUP ON CABLE LINE WITH APACHE!
-BY s0me0ne
**************************************************

* * * 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!?!?! * * *
**** 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. This is my first tut so it might suck.... I know this.
__________________
Anal nerd who can\'t spell.
s0me0ne is offline   Reply With Quote
Old 12-30-2004, 01:28 AM   #2 (permalink)
PowerQuest / Opera
 
TheMajor's Avatar
 
Join Date: Jun 2004
Location: The Netherlands
Posts: 10,046
Send a message via MSN to TheMajor
Default

Nice tut.!
TheMajor is offline   Reply With Quote
Old 06-10-2005, 02:01 AM   #3 (permalink)
Master Techie
 
uzi9mm's Avatar
 
Join Date: Dec 2004
Location: Fort Lewis, WA
Posts: 2,514
Send a message via AIM to uzi9mm
Default Re: simple webserver on cable line.

Quote:
Originally posted by s0me0ne
**************************************************
SiMPLE WEBSERVER SETUP ON CABLE LINE WITH APACHE!
-BY s0me0ne
**************************************************

* * * 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
If people at home have a domain, they can just do masked forwarding to port 81 fo instance.. And have apache broadcast on port 81, since port 80 might be blocked. And I am pretty sure that they won't catch on : )
uzi9mm is offline   Reply With Quote
Old 06-11-2005, 07:13 PM   #4 (permalink)
Super Techie
 
Join Date: Jul 2004
Posts: 309
Send a message via AIM to s0me0ne Send a message via Yahoo to s0me0ne
Default

good point! I was gunna mention that but some of my local isps get really b1tchie to people who try to 'pull a fast one on us' (what one of the admins told my buddy) :/
__________________
Anal nerd who can\'t spell.
s0me0ne is offline   Reply With Quote
Old 06-23-2006, 05:56 AM   #5 (permalink)
Junior Techie
 
Join Date: Apr 2006
Posts: 44
Send a message via AIM to Gscope
Default

I would of possibly enjoyed this tutorial and used it but its completely hard to follow " dude to the cheezy jokes and grammar" lol
Gscope is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 06:48 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0