host an index.html on centos with httpd code example
Example 1: how to create a virtual host in centos
sudo yum -y install httpd
Example 2: how to create a virtual host in centos
sudo chmod -R 755 /var/www
sudo yum -y install httpd
sudo chmod -R 755 /var/www