I have installed the apache web server; with MySQL and php but am unable to access the website on /var/www/html
from outside using my public IP address.
I have performed port forwarding on my router for the device housing the website; but when putting in the url http://<public IP address>:8080
I receive a message saying the page cannot be found.
However if I use the url “localhost” I can see the website. What else do I need to check as clearly something has been omitted in my set up.
sudo apt install ufw
;sudo ufw default deny incoming
;sudo ufw default allow outgoing
;sudo ufw allow 80/tcp
;sudo ufw enable
– pa4080 Nov 05 '17 at 09:27