Let's set the scene: Maybe you reconfigured your virtual hosts, or maybe you have a memory leak that is killing resources and you need to restart the server. Instead of rebooting the VM, you can simply restart Apache! Using terminal (MAC OS) or Putty (Windows), you can begin by logging into your server via ssh.
Assuming you have permissions, let's get started! It's as simple as using the service command to get the job done.