The Apache HTTP Server or simply Apache, is free and open-source cross-platform web server software developed and maintained by Apache Software Foundation. Apache is a easy to learn and configure web server providing an ability to host websites mainly via HTTP or HTTPS protocols. Under RHEL 8 / CentOS 8 system Apache webserver is know under name httpd.
# yum install httpd
# systemctl enable httpd
# systemctl start httpd
# systemctl status httpd
# firewall-cmd --zone=public --permanent --add-service=http
# firewall-cmd --reload
By default the Apache web server will greet you with a default welcome page.To disable
the default Apache welcome page insert
your index.html into /var/www/html/ directory. For example:
# echo 'Welcome to Page Cloud Academy' > /var/www/html/index.html
Go to web browser and http:<IP>