Question: how to install and configure apache in ubuntu 16.04?
Answer: Installing Apache. To install Apache, install the latest meta-package apache2 by running: sudo apt update sudo apt install apache2. ... 
Creating Your Own Website. By default, Apache comes with a basic site (the one that we saw in the previous step) enabled. ... 
Setting up the VirtualHost Configuration File.