How to Restart Apache on Dedicated Server

The only option for manually restarting any service is to use a dedicated server with root access granted to the user. The Apache service can be restarted in the following ways:

WHM –

  1. Log in to WHM.
  2. Type Restart Services in the search bar on the left hand side of the screen.
  3. Select HTTP Server in the WHM panel to restart your Apache server (Apache).
  4. Before the service is restarted, you will be asked for confirmation. The action can subsequently be taken according to your preferences.
  5. You will receive a success message as shown in the image given below.

Command-line –

After logging in to the server through SSH, you must run the following command to restart Apache from the terminal:

1 /etc/init.d/httpd restart

Conclusion

We hope you now understand how to Restart Apache on Dedicated Server. If you continue to have issues with the above-mentioned protocol, please contact the bodHOST Team for constructive assistance. 7 days a week, 24 hours a day.

Popular Posts You May Read

Explore more hosting insights, tips and industry updates.

How to Add SSH Keys to Your GitHub Account

In this article, we will explain how to add SSH keys to your GitHub Account.…

How to Delete a Non-Empty Directory Using the rm Command

In Linux, deleting directories is a popular file system management job, especially when clearing out…

What to Do When One or More Devices Failed Backup?

Here is the solution to solve when one or more devices fail in backup (error…