Apache

Apache HTTP Server is an open-source HTTP server to develop and maintain modern operating systems including UNIX and Windows NT. The goal of this server is to provide a secure, efficient and extensible server that provides HTTP services in sync with the current HTTP standards.

Install Apache HTTP Server

1.First, clean-up yum

1
sudo yum clean all

2. Update your system

1
sudo yum update

3. Install Apache

1
sudo yum install httpd

4. Start Apache

1
sudo service httpd start

5. Set Apache configuration to start at boot

1
2
3
4
5
sudo chkconfig httpd on
Enable name-based virtual hosting on port 80
Open httpd configuration file located at/etc/httpd/conf/httpd.conf
Un-comment the line containing the textNameVirtualHost *:80
Save the file

6. Reload Apache

1
sudo service httpd restart

7. Test the Apache installation

Visit localhost in your web browser. You should see an Apache Test Page.
or
Navigate to your Cloud Server IP address (for example, http://123.45.67.89).