2011-04-15, 10:32 AM
Hi there
I am looking for a communication software for private usage at my home computer.. to access it from home and anywhere else. Yesterday I was testing MyBB and it looks nice.
During installation I was using 'localhost:port' as Board URL. My webserver is accessible by localhost, 127.0.0.1 and 192.168.0.2.. and it has a port number which differs to the standard port 80.
I have a DSL internet connection at home which is interrupted every 24 hours by my internet provider. To access my webserver from outside I am using DynDNS with a defined URL.
From outside my webserver is accessible by mydyndns:port. The installed MyBB is working this way particulary from outside too: MyBB is displayed (for example: start page with categories and so on) but without any layout (just white background and black text). Looks like CSS (or whatever) could not be loaded.
I am using Firefox with NoScript addon.. so I can see which scripts are working on the webside. There I found the error (maybe):
Following scripts (URLs) are affected from home:
webside: localhost, scripts: localhost
webside: 127.0.0.1, scripts: 127.0.0.1 + localhost
webside: 192.168.0.2, scripts: 192.168.0.2 + localhost
Seems that my Windows system, or the webserver, or the browser or just MyBB interprets localhost + 127.0.0.1 + 192.168.0.2 in the same way.. what is accurate. If I block the localhost-scripts with NoScript.. I can access MyBB furthermore by 127.0.0.1 and by 192.168.0.2 without any errors so far. All fine!
Following scripts (URLs) are affected from outside:
webside: mydyndns, scripts: mydyndns + localhost
All scripts are allowed but it seems that MyBB is using 'localhost' inside the code as variable.. because I used 'localhost' at the installation as Board URL. Am I right? The browser want load some scripts from 'localhost' what is a bit illogical if I am anywhere else.
It is not possible to set 'mydyndns' as Board URL because I cannot access 'mydyndns' from home.. because this refers to my external IP adress. Am I right?
Ok.. much text.. and maybe a simple solution. *g*
I was searching for detailed informations about the Board URL in MyBB but I found just a few basic informations.
Here is my question: Is there any possibility to access my webserver/MyBB from home and from outside? How to setup the Board URL in this case?
Greetings,
r0land
I am looking for a communication software for private usage at my home computer.. to access it from home and anywhere else. Yesterday I was testing MyBB and it looks nice.
During installation I was using 'localhost:port' as Board URL. My webserver is accessible by localhost, 127.0.0.1 and 192.168.0.2.. and it has a port number which differs to the standard port 80.
I have a DSL internet connection at home which is interrupted every 24 hours by my internet provider. To access my webserver from outside I am using DynDNS with a defined URL.
From outside my webserver is accessible by mydyndns:port. The installed MyBB is working this way particulary from outside too: MyBB is displayed (for example: start page with categories and so on) but without any layout (just white background and black text). Looks like CSS (or whatever) could not be loaded.
I am using Firefox with NoScript addon.. so I can see which scripts are working on the webside. There I found the error (maybe):
Following scripts (URLs) are affected from home:
webside: localhost, scripts: localhost
webside: 127.0.0.1, scripts: 127.0.0.1 + localhost
webside: 192.168.0.2, scripts: 192.168.0.2 + localhost
Seems that my Windows system, or the webserver, or the browser or just MyBB interprets localhost + 127.0.0.1 + 192.168.0.2 in the same way.. what is accurate. If I block the localhost-scripts with NoScript.. I can access MyBB furthermore by 127.0.0.1 and by 192.168.0.2 without any errors so far. All fine!
Following scripts (URLs) are affected from outside:
webside: mydyndns, scripts: mydyndns + localhost
All scripts are allowed but it seems that MyBB is using 'localhost' inside the code as variable.. because I used 'localhost' at the installation as Board URL. Am I right? The browser want load some scripts from 'localhost' what is a bit illogical if I am anywhere else.
It is not possible to set 'mydyndns' as Board URL because I cannot access 'mydyndns' from home.. because this refers to my external IP adress. Am I right?
Ok.. much text.. and maybe a simple solution. *g*
I was searching for detailed informations about the Board URL in MyBB but I found just a few basic informations.
Here is my question: Is there any possibility to access my webserver/MyBB from home and from outside? How to setup the Board URL in this case?
Greetings,
r0land