Install the Apache HTTP Server

Install and start the Apache HTTP Server on your system with a Red Hat Enterprise Linux (RHEL).

  1. Use the dnf to install the Apache HTTP Server (httpd):

    dnf install httpd
    Note: In RHEL, the Apache HTTP Server is called httpd.
  2. Install mod_ssl, an Apache module that enables SSL and TLS support so the Apache HTTP Server can serve content securely over HTTPS. The module adds encryption, authentication, and integrity to web communications:

    dnf install mod_ssl
  3. Start the service:

    systemctl enable httpd
    systemctl start httpd