Apache is [probably] the most popular web server released under the terms of Apache License 2.0.
1. install apache
dnf install httpd -y
2. start and enable the service
systemctl start httpd systemctl enable httpd
3. add the firewall rule
firewall-cmd --add-service=http firewall-cmd --add-service=http --permanent firewall-cmd --add-service=https firewall-cmd --add-service=https --permanent
Important files:
/etc/httpd
/etc/httpd/conf/httpd.conf
/etc/httpd/conf.d/
/etc/httpd/conf.d/vhost.conf
/etc/httpd/conf.modules.d/
/var/www/html