•  Home
  •  Dashboard
  •  Company
    • About Us
    • Blog
    • Careers
    • Contact Us
    • Data Centers
    • Looking Glass
    • Network
    • Reseller
  •  Hosting Services
    • Infrastructure
      • iColocation
    • Compute
      • cMetal
      • cVirtual
    • Storage
      • sObject
      • sBlock
    • Networking
      • nCDN
      • nIP Transit
      • nWavelength
    • Protection
      • pBackup
      • pDDoS
  •  Solutions
    • Ecommerce
    • Finance
    • Gaming
    • Hosting
    • Management
    • Security
    • System Integrator
  •  Support
    • Community
    • Knowledge Base
    • Open A Ticket
  •  USA & Canada: 800-933-1517
  •  International: 626-549-2801
  •  Email: sales@psychz.net
  • Services
    • new-colocation-header-img
      Infrastructure
      • iColocation
    • new-compute-header-img
      Compute
      • cMetal
      • cVirtual
    • new-storage-header-img
      Storage
      • sObject
      • sBlock
    • new-networking-header-img
      Networking
      • nCDN
      • nIP Transit
      • nWavelength
    • new-protection-header-img
      Protection
      • pBackup
      • pDDoS
  • Solutions
    • Ecommerce
    • Security
    • Gaming
    • Hosting
    • Management
    • Finance
    • System Integrator
  • Dashboard

How to restart apache server in cpanel?

  • Home
  • Client
  • Qa Forum
  • How to restart apache server in cpanel?

Posted By: Lachlan | 1 Replies | Last Reply On: Nov 26, 2017 23:42:26

I got a server with cPanel installed and need to know to restart apache?  I need a ssh command.  Is there a way to do this via browser too?
 

Psychz - Sachin

Votes: 0Posted On: Nov 26, 2017 23:42:26
 

Yes, you can restart the Apache server with the help of an ssh command. If you want to go for the graphical option, you can also restart it with the help of your cPanel account.

Restarting through SSH

The Apache server can be restarted with the help of the command line by using the following command.

For Ubuntu based Operating System

sudo service apache2 restart

For CentOS based operating system

service httpd restart 

(Note: Here we are restarting Apache2 server.)

But since you want to restart the Apache server by connecting to the server remotely, we will have to use the SSH command.

For Ubuntu based Operating System

ssh user@IP_Address sudo service apache2 restart

For CentOS based operating system

ssh user@IP_Address service httpd restart   

 

Restarting Apache through your Cpanel Account

As you have a cPanel account, you can restart your Apache server very easily using the friendly Graphical User Interface. 

 

Step 1

Log into your Cpanel account with the following URL opened in a browser.
 
https:// yourserverip:2087 

or

https://yourhostname:2087

(where 'yourserverip' / 'yourhostname' is actually your server name/creds). Please login as root and your password. 

Step 2

At the home screen, you will find various buttons. One of them would be "Restart Services" button. Click on the "Restart Services" button.

Step 3

Under the "Restart Services" option, a list of services will be displayed. To restart the Apache server, click on "HTTP server(Apache)" button to restart the Apache server. You will be asked for confirmation. Click on "YES" to confirm. 

 

   

Was this reply helpful?

Related topics

  • How To Secure cPanel?
  • How to Install SSL Certificate On Centos 7
  • How to free up disk space on a cPanel server
  • How long does it take for a server to restart?
  • Managing systemd services and units using systemctl commands
  • Apache DDoS Detection
  • Top Hosting Control Panels For Linux
  • Managed cPanel Dedicated Server
  • Best 10Gbps Unmetered Dedicated Servers - Top 10 List
  • Dedicated Server With Free cPanel
  • How to use cPanel?
  • EasyApache 4: better than ever?
  • Installation of Lamp Stack on CentOS 7
  • Best Dedicated Server Providers In Dallas: A Comprehensive Guide
  • Best Dedicated Server Providers in Los Angeles: Top 10 List
Copyright © 2025 Psychz Networks,
A Profuse Solutions Inc Company
Hosting Services
Infrastructure
  • iColocation
Compute
  • cMetal
  • cVirtual
Storage
  • sObject
  • sBlock
Networking
  • nCDN
  • nIP Transit
  • nWavelength
Protection
  • pBackup
  • pDDoS
Company
  • About Us
  • Blog
  • Careers
  • Contact Us
  • Data Centers
  • Looking Glass
  • Network
  • Reseller
Policies
  • Acceptable Usage Policy
  • Privacy Policy
  • Service Level Agreement
  • Terms and Conditions
Support
  • Community
  • Knowledge Base
  • Open A Ticket
Get In Touch
  • Psychz Networks,
    A Profuse Solutions Company
    611 Wilshire Blvd #300
    Los Angeles,California 90017
    USA
  • US/Canada: 800-933-1517
  • International: 626-549-2801