Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 06-02-2004, 05:10 PM   #1
Member (12 bit)
 
icallmedan's Avatar
 
Join Date: Mar 2003
Posts: 2,309
Send a message via AIM to icallmedan
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.
icallmedan is offline   Reply With Quote
Old 06-03-2004, 10:21 AM   #2
Member (6 bit)
 
Join Date: Mar 2002
Location: Chicago, Illinois USA
Posts: 46
Send a message via ICQ to Sunday Silence Send a message via AIM to Sunday Silence Send a message via Yahoo to Sunday Silence
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.
Sunday Silence is offline   Reply With Quote
Old 06-03-2004, 10:46 AM   #3
Member (12 bit)
 
icallmedan's Avatar
 
Join Date: Mar 2003
Posts: 2,309
Send a message via AIM to icallmedan
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?
icallmedan is offline   Reply With Quote
Old 06-03-2004, 12:29 PM   #4
Member (6 bit)
 
Join Date: Mar 2002
Location: Chicago, Illinois USA
Posts: 46
Send a message via ICQ to Sunday Silence Send a message via AIM to Sunday Silence Send a message via Yahoo to Sunday Silence
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?
Sunday Silence is offline   Reply With Quote
Old 06-03-2004, 12:51 PM   #5
Member (9 bit)
 
MulderMan's Avatar
 
Join Date: Dec 2003
Location: England
Posts: 362
Send a message via AIM to MulderMan
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.
MulderMan is offline   Reply With Quote
Old 06-03-2004, 01:26 PM   #6
Member (12 bit)
 
icallmedan's Avatar
 
Join Date: Mar 2003
Posts: 2,309
Send a message via AIM to icallmedan
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.
icallmedan is offline   Reply With Quote
Old 06-03-2004, 01:32 PM   #7
Professional gadfly
 
doctorgonzo's Avatar
 
Join Date: Jan 2002
Location: Minneapolis, MN
Posts: 6,364
Send a message via MSN to doctorgonzo
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.
doctorgonzo is offline   Reply With Quote
Old 06-03-2004, 01:39 PM   #8
Member (12 bit)
 
icallmedan's Avatar
 
Join Date: Mar 2003
Posts: 2,309
Send a message via AIM to icallmedan
That worked...thanks so much....btw what's so special about Port 80?
icallmedan is offline   Reply With Quote
Old 06-03-2004, 01:44 PM   #9
Professional gadfly
 
doctorgonzo's Avatar
 
Join Date: Jan 2002
Location: Minneapolis, MN
Posts: 6,364
Send a message via MSN to doctorgonzo
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.
doctorgonzo is offline   Reply With Quote
Old 06-03-2004, 02:04 PM   #10
Member (9 bit)
 
MulderMan's Avatar
 
Join Date: Dec 2003
Location: England
Posts: 362
Send a message via AIM to MulderMan
ohh i didnt realise you were on a router.
MulderMan is offline   Reply With Quote
Old 06-03-2004, 02:20 PM   #11
Member (12 bit)
 
icallmedan's Avatar
 
Join Date: Mar 2003
Posts: 2,309
Send a message via AIM to icallmedan
Yeah, it's working now...thanks for the help everyone.
icallmedan is offline   Reply With Quote
Old 06-03-2004, 06:06 PM   #12
Member (7 bit)
 
Join Date: Jun 2003
Posts: 123
id also use your standard ip address which is probable

127.0.0.1
atari is offline   Reply With Quote
Old 06-03-2004, 06:11 PM   #13
Professional gadfly
 
doctorgonzo's Avatar
 
Join Date: Jan 2002
Location: Minneapolis, MN
Posts: 6,364
Send a message via MSN to doctorgonzo
Quote:
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.
doctorgonzo is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 12:55 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2