Originally Posted by kwatts59
I put a file in the /var/www/html directory called pcie-bus-error.jpg.
When I go to firefox and type in http://192.168.0.15/pcie-bus-error.jpg
into the address bar, I see the image.
When I try to access it from my samsung cell using 4G LTE, it says "The webpage is not available". When I set my cell to connect to the local network via Wifi, it works.
It appears that only my network can view this image.
How do I make it so everybody can see the image?
Thanks in advance,
The address "192.168.0.15" will only be valid within the same LAN as that computer. In order to make this web page accessible to the outside world, you need to:
1) Find out your outside world IP address. One way to do this is to google "What is my ip address?"
2) Configure your router to port forward requests for port 80 (http) to 192.168.0.15
The way to do this varies by router brand. In any case, you will need administrator rights to the router. Assuming this is your home network, you probably set up the router yourself. Even if you have forgotten the router admin password, you can do a factory reset to return everything to defaults. (You'll then need to completely set up your LAN customizations.)
3) After doing this, replacing "192.168.0.15" in the url with your outside world IP address should work.
But it probably won't work. Why? Because your Internet Service Provider probably blocks port 80. Sucks, but that's the way it is. So, you'll have to configure your web server to use listen to a custom port also. Assuming you are using Apache, you edit /etc/apache2/ports.conf and make it look something like this:
At that point, restart Apache and make sure http://192.168.0.15:8888/pcie-bus-error.jpg
works within your LAN.
Then configure your router to forward ports 8080 and 8888 to 192.168.0.15.
Chances are, your ISP will allow port 8080 or 8888.