Is there any special setup for Apache on Fedora?

Posted September 12, 2014 3.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....

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers

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

firewall-cmd --add-service=http