Apache stops responding when configuration changes fail to load, memory limits are reached or processes become stuck. Restarting the service clears these issues and applies any pending configuration updates.
You will restart Apache using cPanel/WHM, Plesk or the command line. The method you choose depends on which control panel your VPS uses.
WHM provides a graphical interface for managing server services. You will search for Apache and trigger a restart through the service management area.
https://yourhostname.com:2087Plesk groups all server services in one management area. You will navigate to the services section and restart Apache using the control buttons.
https://yourhostname.com:8443The command line offers two restart options. A graceful restart only affects idle processes and prevents interruption to active connections. A full restart stops and starts all Apache processes.
For a graceful restart that only affects idle processes:
service httpd graceful
For a full restart that stops and starts all Apache processes:
service httpd restart
The command completes without output if successful. Apache is now running with updated configuration and cleared processes.
You restarted Apache using your preferred control panel or the command line. Your web server now runs with a fresh process and any configuration changes have taken effect.
Monitor your sites over the next few minutes to confirm they load correctly. If Apache fails to restart or sites remain unavailable, check your error logs for configuration issues. Our VPS hosting includes full root access and control panel options.
If you run into any trouble, get in touch and our team will be happy to help.
Get scalable resources with our VPS hosting with root access and optional software.
Get VPS HostingPerfect for websites and small businesses unlimited bandwidth with cPanel hosting.
Get cPanel Hosting