LAMP Fedora 27 This site can’t be reached

I've installed LAMP on my Linode http://50.116.35.82

I used instructions: https://www.if-not-true-then-false.com/2010/lamp-linux-apache-mysql-php-on-fedora-centos-red-hat-rhel/

I've opened ports 80, 22, 443 and service http

It all works, including testing localhost/test.php

However, when I try http://50.116.35.82/test.php

I get This site can't be reached

So, am I using the wrong url?

Or have I skipped a necessary incantation?

1 Reply

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.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct