It's called port forwarding almost all routers should have that
On Tuesday, November 12, 2013, stephen sutcliffe wrote:
I'm just starting out building a Wiki and I'm a little confused. I would
like to be able to access my Wiki both within my home network and
externally over the internet. If I set $wgServer in LocalSettings.php to "
my intranet works as expected. Entering
"192.168.1.100" resolves to http://192.168.1.100/wiki/Main_Page
everything works as expected complete with the vector theme. Obviously this
poses a problem if I try to access my wiki over the intranet as it can't
connect to 192.168.1.100.
if I set $wgServer to my registered domain name and try and access the wiki
externally everything works as expected but if i access the wiki internally
I have two different issues. If I try to use my domain name this ends up
pointing to my router admin page so the resolved name i.e with
"/wiki/Main_Page" appended does not exist on my router . If I use the i.p
address directly i.e http://192.168.1.100/wiki/Main_Page
the web page is
displayed but I loose the vector theme. i,e it just has very basic
formatting. Navigating seems to work fine and images are displayed I just
don't get any nice formatting.
Sorry if this has rambled on but I didn't quite know hot to put it
eloquently. What configuration do I need to get my wiki to display properly
when accessed both internally and externally via the internet? I presume if
I could move my routers admin page away from port 80 this might solve the
issue but this isn't an option on my router.
MediaWiki-l mailing list