Target:
To host HTML or PHP files in http://serverIP/
If one want to host just htm/html files or a PHP files without MySQL database, here is what needs to be executed on the CentOS:
for HTML only
for HTML+PHPyum install httpd
make Apache start automatically and start it:yum install httpd php
Then add your html or php files into /var/www/html/chkconfig httpd on
service httpd start
Bookmarks