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
sudo yum clean all
2. Update your system
sudo yum update
3. Install Apache
sudo yum install httpd
4. Start Apache
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
sudo service httpd restart
7. Test the Apache installation
Visit localhost in your web browser. You should see an Apache Test Page.
Navigate to your Cloud Server IP address (for example, http://18.104.22.168).