httpd is nothing but an Apache HyperText Transfer protocol daemon or server program and essential server daemon to handle http requests. In general, this daemon runs as a standalone process which means it doesn’t depend on any process to initiate. it waits in attendance for requests from the web and forwards the request to the appropriate processes. When this daemon used it will create threads or a pool of child processes to handle requests. The Apache httpd (HyperText Transfer protocol daemon) answers the incoming requests in an automatic manner and serves the appropriate hypertext and multimedia documents over the Internet using Http protocol as per the requests.
The Apache httpd is configured by placing the configuration file “httpd.conf” in the respective directory, The default path of httpd.conf file is etc/httpd/conf/httpd.conf
Once the Apache httpd installed in your server we can configure the apache as per our requirement by modifying this httpd.conf file accordingly. Now let us see the list commands that are used to install, modify and configure an Apache httpd server
To install the Apche httpd in your Linux server use the below command
yum install httpd
Use the Command To restart, Start and Stop httpd service
To restart the httpd daemon service
service httpd restart
To Start the httpd daemon service
service httpd stop
To Stop the httpd daemon service
service httpd start