My home is armed with a DIR-868L D-Link router and I am trying to host a website from my PC behind it on the local IP
18.104.22.168 port 32768 (which I can configure).
I tried configuring port forwarding and/or a 'virtual server' on my router, where the 'virtual server' approach seemed to do something. When configuring it for external port 80, to my internal IP and (arbitrary) port 32768, I could access a simple website from inside the LAN over the external IP (in a browser)..., but I cannot access it over WAN using the external IP.
Hosting basic webpage using
python -m SimpleHTTPServer 32768
When browsing to my external IP using 4g (by phone), I am entering the router configuration page. When doing the exact same over wifi (by laptop), I enter the site, as intended.
How can I make my router pass through port 80 communication to my specific PC behind the router, so that my external IP would result in my website when approaching it over WAN?
Might it magically work when starting to use an SSL certificate and communicate over the HTTPS port 443? It does seem that the router does only serve an HTTP (80) config page...
It has only been for 3 days that I have tried to fix this and thought myself some networking skills, so I am very open to suggestions or lessons.
(As a side note, I already have a domain and an A-record DNS is currently directing my domain to my external IP)
Addition on @Kevin Mason's answer: I could now confirm that being able to remotely access the router config (which is a feature that can be configured in the router) was causing the port 80 (web browser access) to be intercepted. The setting is a bit hidden in 'Management' -> 'admin settings' -> 'advanced settings' -> 'Remote management', disable this to be able to host a website.