1
I'm currently hosting a MediaWiki site on my computer. I'm forwarding port 80 to my computer, and I'm able to access it from outside the network, as long as the $wgServer variable in LocalSettings.php is set to my external ip address. Although this works, I'm unable to view the wiki from within my local network, as any requests to [internal ip]/wikiname of my computer are redirected to the external ip's domain at [external ip]/wikiname and it won't load. I can reverse this by setting $wgServer to instead be my internal ip, but then I am unable to access the site from outside my network. Is there any way I can have it be accessible from both inside and outside of my home network?
There is no settings called '$wgExternalServer', but there is '$wgInternalServer'. Thanks for your answer anyway, it led me to the correct answer which I have posted on this page. – Sileria – 2016-04-18T13:40:25.227