Apache is a free, opensource and most popular HTTP Web Server that runs on Linux operating systems and also run on windows platform.


Package Requirement:-

httpd- 2.4 or above

Step 1. Install package

yum install httpd

Step 2. Create the test file in /var/www/html.

echo "This is TechServiceDoc website" > /var/www/html/index.html

Step 3. Start and enable the service

systemctl start httpd
systemctl enable httpd
systemctl status httpd

Step 4. Enable the firewalld to allow traffic

firewall-cmd --zone=public --permanent --add-service=http 
firewall-cmd --zone=public --permanent --add-service=https
firewall-cmd --reload

Step 5. Test the webserver is working

http://<ipaddress of your machine>

For Live Installation you may refer below youtube link:-



Please enter your comment!
Please enter your name here