|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (12 bit)
|
Web Server
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. |
|
|
|
|
|
#2 |
|
Member (6 bit)
|
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 ? Last edited by Sunday Silence; 06-03-2004 at 10:24 AM. |
|
|
|
|
|
#3 |
|
Member (12 bit)
|
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? |
|
|
|
|
|
#4 |
|
Member (6 bit)
|
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? |
|
|
|
|
|
#5 |
|
Member (9 bit)
|
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.
|
|
|
|
|
|
#6 |
|
Member (12 bit)
|
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.
|
|
|
|
|
|
#7 |
|
Professional gadfly
|
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.
|
|
|
|
|
|
#8 |
|
Member (12 bit)
|
That worked...thanks so much....btw what's so special about Port 80?
|
|
|
|
|
|
#9 |
|
Professional gadfly
|
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.
|
|
|
|
|
|
#10 |
|
Member (9 bit)
|
ohh i didnt realise you were on a router.
|
|
|
|
|
|
#11 |
|
Member (12 bit)
|
Yeah, it's working now...thanks for the help everyone.
|
|
|
|
|
|
#12 |
|
Member (7 bit)
Join Date: Jun 2003
Posts: 123
|
id also use your standard ip address which is probable
127.0.0.1 |
|
|
|
|
|
#13 | |
|
Professional gadfly
|
Quote:
|
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|