•  Home
  •  Dashboard
  •  Company
    • About Us
    • Blog
    • Careers
    • Contact Us
    • Data Centers
    • Looking Glass
    • Network
    • Reseller
  •  Hosting Services
    • Backup
    • Content Delivery Network
    • Colocation Hosting
    • Dedicated Hosting
    • DDoS Mitigation
    • IP Transit
    • Private Cloud
    • Wavelength
  •  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
    • Dedicated Servers
    • Colocation
    • Private Cloud
    • DDos Protection
    • IP Transit
    • CDN
    • Backup
  • 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?
  • Top Hosting Control Panels For Linux
  • EasyApache 4: better than ever?
  • How to free up disk space on a cPanel server
  • How to Install SSL Certificate On Centos 7
  • How long does it take for a server to restart?
  • Apache DDoS Detection
  • Managed cPanel Dedicated Server
  • Managing systemd services and units using systemctl commands
  • Dedicated Server With Free cPanel
  • How to use cPanel?
  • Installation of Lamp Stack on CentOS 7
  • BBR : A new way to increase Internet speed
  • Cloud Deployment on Dedicated Servers
  • CDN and Load Balancer: Ultimate combination for efficient content delivery
Hosting Services
  • Dedicated Hosting
  • Colocation Hosting
  • Backup
  • IP Transit
  • DDoS Mitigation
Support
  • Portal Login
  • Knowledgebase
  • Community
Company
  • About Us
  • Contact Us
  • Network
  • Data Centers
  • Looking Glass
  • Affiliates
  • Reseller
  • Blog
Policies
  • Privacy Policy
  • Acceptable Usage Policy
  • Terms and Conditions
  • Service Level Agreement
Company
  • Psychz Networks,
    A Profuse Solutions Company
    611 Wilshire Blvd #300
    Los Angeles,California 90017
    USA
  • US/Canada: 800-933-1517
  • International: 626-549-2801
Subscribe to Our Mailing List
* indicates required
Copyright © 2023 Psychz Networks, A Profuse Solutions Inc Company