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: , , , , , , ,


Welcome to the healthcare-only HIPAA - GDPR compliant cloud. Exclusively hosted on a HPC environment!

Learn more or start today by choosing your secure HIPAA - GDPR compliant server's Operating System bellow and pick the package that's best for you.

BIPmd makes it simple to launch in the cloud and scale up as you grow – whether you’re running one virtual machine, thousand or more.



Windows VPS options and add ons
Linux VPS options and add ons

>

Looking for a custom solution?

Our technicians can provide you with the best custom-made solutionss on the market, no matter whether you're a small business or large enterprise.

Get in touch

Leave a Reply



Feedbacks