getting started with Apache2 on ubuntu

Installation
sudo apt-get update  
sudo apt-get install apache2  
Status
sudo systemctl status apache2  
Start and Stop
sudo systemctl start apache2  
sudo systemctl stop apache2  
sudo systemctl restart apache2  

Reference Link
https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-14-04-lts

https://www.digitalocean.com/community/tutorials/how-to-install-the-apache-web-server-on-ubuntu-16-04

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.