Ubuntu virtual hosts with Apache

  • Posted on: 20 January 2016
  • By: hapebe

Setting up a virtual development host on ubuntu 15.10 today... - http://www.unixmen.com/setup-apache-virtual-hosts-on-ubuntu-15-10/ .

In addition to the process shown in the unixmen article, I've created sybolic links for the "hostmaster" user in his home dir:

ln -s /var/www/d8 d8

I'm using WinSSHFS to access hostmaster's home dir from Windows via network / SSH...

After copying and modifying the 000-default.conf in /etc/apache2/sites-available the magin command was:

sudo a2ensite 002-d8.conf
sudo service apache2 reload

And, looks like it works!

Additional findings while trying to set up drupal 8:

sudo a2enmod rewrite

and

AllowOverride All

are good points, too!