Is there any special setup for Apache on Fedora?

September 12, 2014 1.5k views

So I have tried to setup my own website on my server running Fedora 20 x64. Is it very different setup process compared to Ubuntu. My friend ran his site through DigitalOcean and he says he didn't have any firewall rules to worry about. My server instance shows port 80 is closed. My question is should I relax the firewall rules, or does Ubuntu have it open by default?

When I try to go through my browser to my server, the application times out....

2 Answers

Fedora 20 will has firewalld running by default. In order to open port 80 for Apache, run:

firewall-cmd --add-service=http
Have another answer? Share your knowledge.