Setting virtual host in apache2
Posted: Sat 05 May 05 2018 10:48 pm
A conf file need to be created and placed in:-
/etc/apache2/sites-available
Supposing the file is dash.conf, it would be:-
/etc/apache2/sites-available/dash.conf
You would enable the virtual host defined in dash.conf like this:-
sudo a2ensite dash
/etc/apache2/sites-available
Supposing the file is dash.conf, it would be:-
/etc/apache2/sites-available/dash.conf
You would enable the virtual host defined in dash.conf like this:-
sudo a2ensite dash