From the course: Linux: Firewalls and SELinux

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Allowing the Apache web server

Allowing the Apache web server - Linux Tutorial

From the course: Linux: Firewalls and SELinux

Start my 1-month free trial

Allowing the Apache web server

- [Voiceover] If you want to set up an Apache web server, you're going to, of course, install Apache and get it turned on, and you're going to place your index.html file where it needs to go and do all of that stuff, but you're going to need to open up a port to make that stuff available to anybody who's not on the computer that's running the website. So how do we go about doing that? Well, it's a simple process of entering a firewall command to add a service into the default zone we've set up, so let's do that right now. In the first movie of this chapter, we set up MDNS, or Bonjour, as a service that we were adding after the fact as a test, just so we could get that done. And I'm just going to up arrow because I've just completed that, and I get back that same command. All I need to do is backspace over the MDNS and put in "http." If I do so, I can hit return. Success, and if I type in "https" I will also get success and that gives me both port 80 and port 443. Gives me everything I…

Contents