when I try to restart the apache server I got following response.
Redirecting to /bin/systemctl start apache2.service
Failed to start apache2.service: Unit not found.
You are using different service of apache.
run this if you are using the same service.
systemctl restart httpd
or
apachectl restart