KB Knowledge Base
How To Start, Stop, And Restart Apache Web Server On Ubuntu

Article By tabitha


img

To start, stop, and restart the Apache Web Server (httpd) on Ubuntu, you can use the /etc/init.d/apache2 script.

You need to ssh to your Pod as root, or use sudo command. Here are each of the commands:

Start:
root@mypod:~# sudo /etc/init.d/apache2 start
Stop:
root@mypod:~# sudo /etc/init.d/apache2 stop
Restart:
root@mypod:~# sudo /etc/init.d/apache2 restart



Tags: , , , , , , ,

Spin up a VPS server in no time flat

Simple setup. Full root access. Straightforward pricing.

DEPLOY VPS SERVER

Leave a Reply



Feedbacks