sudo apt install apache2
Check computer name
Returned ‘userver’. I’ll use it in apache configuration for setting sub-domains.
Setup enabled sites. I.e directories and its host names. I’ll setup localhost, local ip address and subdomain main.userver to point to same directory of my main project. I’ll keep the apache default page for reference on address apache.userver