Setting virtual host in apache2

Reviews and other little ventures that don't quite fit into the other forums
Post Reply
Daniel Wee
Site Admin
Posts: 2139
Joined: Wed 25 Feb 25 2009 8:00 pm

Setting virtual host in apache2

Post by Daniel Wee » 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

Post Reply