I am pretty novice. I have a Raspberry Pi 3 and am running it for a webserver. I'm running Raspbian, PhP, Apache, and MySQL. I watched a tutorial on how to set all of this up.
I can SSH in locally and ping locally. I have it plugged in through the ethernet port. I use Comcast and have port forwarding set to 22, 80, and 443 and have the IP address locked (it says reserved).
I cannot ping or ssh in over a WAN. I can connect to the pie over WiFi (LAN). I use a Comcast hotspot to test all of this.