Thread:Project:Support desk/web address changes to IP address when accessing MW server

I have a MW server running locally on port 85, to get to this I have a subdomain which does a redirect to my local WAN IP and the associated port (just HTTP forward to http://IP:PORT ). Only trouble is when I load the web address, it changes from the subdomain to IP:PORT. I've tried modifying $wgServer in LocalSettings.php for MW and ServerName in httpd.conf for the associated apache server to no avail. Also I've tried a bunch of different combinations such as forwarding to http://IP:PORT/mediawiki/index.php etc.

This solution on stack overflow suggests Apache Module mod_proxy, but I'm not sure if I need this, and I'm hesitant possibly opening more doors to the internet without knowing what can happen.

Phaseform