Software >> OS >> Unix >> Linux >> RHEL >> 7 >> How to check whether apache web server (httpd) service is set to autostart and how to enable it

systemctl status httpd.service

if shown as disabled => does not start automatically on boot,

To enable it

systemctl enable httpd.service