PDA

View Full Version : Web Server


icallmedan
06-02-2004, 06:10 PM
i'm not really sure where to post this, so I guess it will go here..,move if necessary...

I have been setting up a web server so I can host my own website, it will be school related, with a message board and what not so kids from my school can get help and reminders and such on projects....but ayways...I set the main stuff up....

PHP, MySQL, Apache

But now, after I create a site, how do I get it to show up in the browser...I used the whole 'localhost' thing, but I don't know if I have do do something else... I used the started PHP webpage that is just the "hello word" page, and it works when I type in http://localhost/hello.php....if I go into my browser and type my ip/hello.php it doesn't work....

Anyone know what I have to do? Thanks.

Sunday Silence
06-03-2004, 11:21 AM
What kind of message board and is it the default.index page or do you link to that one from another page?

What do you get when try just your http//IP ?

icallmedan
06-03-2004, 11:46 AM
I dont have naything set up yet..just the webserver, PHP, and MySQL....

when I type in http://myip i just get a log in for the router that I own. Do I have to pen ports or anything?

Sunday Silence
06-03-2004, 01:29 PM
It just dawned on me I'm probabley over my head here.

Do you have a dynamic IP? If so your going to need a domain pointer like these guys offer: http://www.no-ip.com/

It sounds like you do have to open a port and assign it to your server.

This is all installed on a linux pc or is everything over windows?

MulderMan
06-03-2004, 01:51 PM
are you trying you ip as 192.168.x.x, or your real public ip? it should work no matter what isp and ports are open.

icallmedan
06-03-2004, 02:26 PM
my real isp....when i type in my local 192.168.1.101/hello.php it works...but not my real ip....and I had some friends try it and nothing works for them.

doctorgonzo
06-03-2004, 02:32 PM
If you have a router, you are going to have to forward port 80 to your local PC or put it in the DMZ. Your firewall is doing exactly what it is supposed to be doing by blocking access to port 80.

icallmedan
06-03-2004, 02:39 PM
That worked...thanks so much....btw what's so special about Port 80?

doctorgonzo
06-03-2004, 02:44 PM
Port 80 is the standard HTTP port, the one used for web browsing. Other standard ports are 21 for FTP, 110 for POP3, and so on.

MulderMan
06-03-2004, 03:04 PM
ohh i didnt realise you were on a router.

icallmedan
06-03-2004, 03:20 PM
Yeah, it's working now...thanks for the help everyone.

atari
06-03-2004, 07:06 PM
id also use your standard ip address which is probable

127.0.0.1

doctorgonzo
06-03-2004, 07:11 PM
Originally posted by atari
id also use your standard ip address which is probable

127.0.0.1

Um, that's the loopback address which only points at itself and can't be used for the Internet.