I'm trying to use my Pi as webserver and can confirm that the Apache 2 webserver is functioning properly when accessed locally. In order to allow external access, I have set up port forwarding (
80 for HTTP and
22 for SSH) on my router to my Pi's internal IPs.
However when I attempt to access http://mypi.example.com, the connection simply times out. A similar problem occurs when I attempt to SSH to the Pi externally. Again from a LAN device to the internal IP, SSH works perfectly fine.
Any ideas how to resolve this issue?