PDA

View Full Version : Heeeeeeelp!!!



The_Abbot
August 5th, 2004, 08:47
I am trying to set up an IPB board forum/webserver from my home pc.
I have set up mysql, php5, apache 1.x, and phpmyadmin. Everything runs perfectly on the localhost. But when I try to access from outside of my home network, I get 'page cannot be displayed. Also, when I enter http://localhost/forums/, I get the main page of the forums. But when I click on 'register', or anything else, I get 'page cannot be displayed'.
Anyone have any ideas what setting could be causing this?

Addendum:
When I log into the forum via phpmyadmin, I can login, make changes, and do anything else.
The problem seems to arise when I access the forum via http://localhost...

The_Abbot
August 5th, 2004, 08:57
I think I may know the problem. When I set IPB up, I used http://localhost as the URL. Should I change that?

Dean
August 5th, 2004, 09:02
Set your boards url to your external url [eg: http://123.32.432.33]
That will fix the external probs, but if you want to still access the board from your localhost.. you will need to add a line to your hosts file..
Start>Run
Notepad C:\WINDOWS\SYSTEM32\DRIVERS\ETC\HOSTS
Add


#< LOCALHOST FIX
123.32.432.33 localhost
#LOCALHOST FIX>


[123.. etc = your external ip.. you will need to change this everytime if its dynamic]

Whats happening is.. the index page runs fine, but IP generates the links as http://localhost/index.... ... external computers cant access localhost/

The_Abbot
August 5th, 2004, 09:07
Ooooohhhhh.... So I need to edit the host file to include my ext IP addy?
Should I only place one space between the IP and 'localhost'?
Also, is there a place within IPB where I can actually change the http://localhost value? or should I leave that alone, and edit the hsot file like you advised?

Dean
August 5th, 2004, 09:42
You need to change the IPB config with your IP, in the general settings

The_Abbot
August 5th, 2004, 09:43
Cool!
I really appreciate the help!
I'll give this a try when I get home from work.
Thanks again!

The_Abbot
August 5th, 2004, 12:11
Once more question.
For the Board URL, do I need to include the total path to the index file, or do I just place http://(myipaddess)?

durong
August 6th, 2004, 02:46
i guess both of them will work.
why not try more ??

The_Abbot
August 6th, 2004, 08:24
Hmm...tired to change the board url, and still no luck. There must be something wrong in one of my config files, but I cannot figure out what could be wrong.
Also, when I access the forum via localhost, the index comes up fine, but when I click 'login' I get 'Page cannot be displayed'.

Goofy
August 6th, 2004, 18:18
Why do you have to go thru all these ? I took me just a minute to install IPB on the same config and it's running just fine. Don't confuse yourself.

For the Board URL, do I need to include the total path to the index file, or do I just place http://(myipaddess)?
If you installed IPB in http://localhost/forums/ then that should be the board url.