I set up Apache last night on my Pi, verified it was working, and then bought a cheap domain to register my IP address on the internet. I thought I had it figured out this afternoon after typing in my website address into my browser at work and even being able to SSH into my Pi. I'm not quite sure why I'm able to see it at work, but no where else on the internet. The only reason I can think of why this would be is that I connect to my works' VPN at home to remote into my work station, but I don't understand enough about IT stuff to know why this is.
Here is a list of things I have done:
- Set a static IP on the Raspberry Pi
- Forwarded ports 22 and 80 on my home router to my Raspberry Pi at 192.168.0.50
- Checked http://canyouseeme.org/ and verified that they can see my two ports open. (I also set a very strong password onto the Raspberry Pi for obvious security reasons).
- Verified that I can access the website through my LAN.
Two things speak to me here, the Raspberry Pi is successfully serving the website as I'd expect from my LAN, therefore I highly doubt the issue is on the Pi itself. Second, I can check my ports online to verify they're forwarded correctly, and furthermore I was able to SSH into my Pi, make changes to the site, and see the changes when I entered my domain name into my work station's internet browser.
I thought perhaps my ISP did some trickery with their port blocking, and I tried using a nonstandard port to host my website, but got no results. Can anyone provide some insight as to what I could be doing wrong?