Apache is the HTTP server which is freely available over internet. it is widely used on Linux distribution to host websites. Apache configuration is managed by the configuration file httpd.conf. You can use locate command to find the configuration file
$ locate httpd.conf
/etc/httpd/conf/httpd.conf
After making the change , you need to restart the Apache services to make it effective
Command for Linux version 4.x/5.x/6.x or older commands :
Start Command
Stop Command
Restart command
status command
How to automatically start the httpd service after the reboot
Command for Linux version Linux version 7.x or newer commands :
Start command
systemctl stop httpd.service
Restart command
How to enable httpd service to start after reboot
systemctl start httpd.service
than you so much this worked for me