LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 09-06-2006, 05:33 PM   #1
colinstu
Member
 
Registered: Apr 2005
Posts: 113

Rep: Reputation: 15
Wow, I think I just got my first webserver working!


I decided to fiddle around w/ apache some more, and I think I got my first ever server up! I got it hooked up to a little directory, w/ some test stuff.

http://192.168.1.101/ is it, it work at all? I did it from another computer hooked up to my network, and it worked.

If it works for you then I'm gonna pull out my old HP, throw in the xp harddrive, get wi-fi to work, hide it in my closet and run it headless for most of the time.

Last edited by colinstu; 09-06-2006 at 05:39 PM.
 
Old 09-06-2006, 05:39 PM   #2
slantoflight
Member
 
Registered: Aug 2005
Distribution: Smoothwall
Posts: 283
Blog Entries: 3

Rep: Reputation: 35


You will learn soon enough.
 
Old 09-06-2006, 05:40 PM   #3
colinstu
Member
 
Registered: Apr 2005
Posts: 113

Original Poster
Rep: Reputation: 15
Ah, let me guess, it doesnt work... i knew it was too good to be true.

Last edited by colinstu; 09-06-2006 at 05:54 PM.
 
Old 09-06-2006, 06:02 PM   #4
graemef
Senior Member
 
Registered: Nov 2005
Location: Hanoi
Distribution: Fedora 13, Ubuntu 10.04
Posts: 2,379

Rep: Reputation: 148Reputation: 148
I'm sure that it works, but you will need a public IP address for us folks to see it...
 
Old 09-06-2006, 06:03 PM   #5
colinstu
Member
 
Registered: Apr 2005
Posts: 113

Original Poster
Rep: Reputation: 15
how do I do that? I've looked at guides sometimes, but they never make sense... atleast I was able to change the directory or whatever from the "It works!" screen, to a directory on my computer.

Last edited by colinstu; 09-06-2006 at 06:04 PM.
 
Old 09-06-2006, 06:08 PM   #6
Cirdan
Member
 
Registered: Nov 2005
Distribution: Arch Linux
Posts: 84

Rep: Reputation: 15
www.ipchicken.com
 
Old 09-06-2006, 06:12 PM   #7
colinstu
Member
 
Registered: Apr 2005
Posts: 113

Original Poster
Rep: Reputation: 15
Thats what I typed in when I was installing Apache, and is also the only IP address I remember seeing in the file in the apache folder. But when I type that address in, it just brings up the login prompt for my router, so I can log into that and change things.

It's okay to post the IP I guess, but right now it's just for my router, and I dont anyone hacking into that (not that you guys would do that )

But when I type in 192.168.1.1, that also lets me login to my router (i got a linksys)
 
Old 09-06-2006, 06:18 PM   #8
Cirdan
Member
 
Registered: Nov 2005
Distribution: Arch Linux
Posts: 84

Rep: Reputation: 15
Well..if your router is properly passworded...we can't hack it. And I don't think that if you type in taht IP address it would go to your router. Thats just dumb. You might need to forword port 80 to the computer Apache is running on.
 
Old 09-06-2006, 06:21 PM   #9
colinstu
Member
 
Registered: Apr 2005
Posts: 113

Original Poster
Rep: Reputation: 15
THers a password on it.

http://65.30.173.211 (whats that give ya?)

"You might need to forword port 80 to the computer Apache is running on."
How do you do that?
 
Old 09-06-2006, 06:58 PM   #10
colinstu
Member
 
Registered: Apr 2005
Posts: 113

Original Poster
Rep: Reputation: 15
I think I did it!!!!

http://65.30.173.211 is it! (as long as DHCP doesnt change my IP on me, the settings on my router should keep this working)

13 yrs old, forwarded a port, got apache working, got the apache webserver to acctually display something... I think thats impresive.

Last edited by colinstu; 09-06-2006 at 07:00 PM.
 
Old 09-06-2006, 07:18 PM   #11
Samoth
Member
 
Registered: Apr 2005
Distribution: Exherbo
Posts: 474
Blog Entries: 1

Rep: Reputation: 32
Congratulations. I believe that I was 13 when I first got apache working. Keep it up.

There is something called dydns so that even though your IP address changes people can still access your machine.
 
Old 09-06-2006, 07:22 PM   #12
slantoflight
Member
 
Registered: Aug 2005
Distribution: Smoothwall
Posts: 283
Blog Entries: 3

Rep: Reputation: 35
Quote:
Originally Posted by colinstu
I think I did it!!!!

http://65.30.173.211 is it! (as long as DHCP doesnt change my IP on me, the settings on my router should keep this working)

13 yrs old, forwarded a port, got apache working, got the apache webserver to acctually display something... I think thats impresive.

Hmmmm. New to setting up servers, are you? OooooOOOOoooOOo

Perhaps I should bookmark this ip.

 
Old 09-06-2006, 07:40 PM   #13
myte
LQ Newbie
 
Registered: Sep 2006
Posts: 3

Rep: Reputation: 0
nice work!
 
Old 09-06-2006, 07:43 PM   #14
colinstu
Member
 
Registered: Apr 2005
Posts: 113

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Samoth
There is something called dydns so that even though your IP address changes people can still access your machine.
I could just setup in the router to be static IP instead of Dynamic, but I don't want to screw up anything, my Dad isn't gonna be too happy about that.

And for dydns, don't you need to pay like 15 bucks for that? My Dad just go into like a blog type thing for a group of people, and I guess I could host lots of his stuff then using imageshack.

Yea, this is my first server.

Also, it does work... right? Hows the speed? I'm just over a 54mbps wifi G adapter. (it doesnt usually run at that speed, usually 48 and down).
 
Old 09-06-2006, 07:51 PM   #15
colinstu
Member
 
Registered: Apr 2005
Posts: 113

Original Poster
Rep: Reputation: 15
Also, I'm thinking this will be secure, but my Dad is thinking that doing this will allow people to just hook up to his harddrive and stuff... that wont happen... right? Lots of people host webservers, and I dont hear them about people hacking into there stuff.

So cool! If my school's proxy server doesnt block this, I can just upload files onto my computer from home, and access them at school.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
X server not working after yum update & font server problems snow93 Linux - Software 1 08-02-2006 05:26 AM
Wow Optyx General 7 05-14-2006 12:35 PM
Wow...I got my DSL working... RoaCh Of DisCor Linux - Networking 2 10-12-2004 01:34 PM
CS110 is wow working!!!!! chem1 Linux - Hardware 4 03-16-2004 04:12 AM
Wow LinuzRulz General 1 04-23-2002 11:13 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 01:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration