Apache

Apache

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

Apache is the most widely used web server software. Developed and maintained by Apache Software Foundation, Apache is open source software available for free that runs on 67% of all web servers in the world. It is fast, reliable, and secure and it can be highly customized to gather the needs of many different environments by using extensions and modules. Most WordPress hosting providers use Apache as their web server software. However, WordPress can run on other web server software as well.

Key Features:

  • Improved caching modules (mod_cache, mod_disk_cache, mod_mem_cache).
  • A new structure for authentication and authorization support, replace the authentication modules provided in previous version.
  • Support for proxy load balancing (mod_proxy_balancer)
  • Support for managing huge files (namely, greater than 2GB) on 32-bit platforms

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).