LAMP Fedora 27 This site can’t be reached
I've installed LAMP on my Linode http://220.127.116.11
I've opened ports 80, 22, 443 and service http
It all works, including testing localhost/test.php
However, when I try http://18.104.22.168/test.php
I get This site can't be reached
So, am I using the wrong url?
Or have I skipped a necessary incantation?
I would start by disabling the firewall completely and testing again. I'm not sure about Fedora but CentOS uses firewalld so the command would be systemctl disable firewalld. Also need to stop the service: systemctl stop firewalld
If it's working on localhost it could also be that your web server is not listening on the public IP address. Try the firewall first though.