Skip to content

Instantly share code, notes, and snippets.

sb-lc / vhost
Last active September 17, 2015 08:47
bash script - vhost create
View vhost
creates project folder /var/www/project/ and corresponding .conf file in /etc/apache2/sites available, a2ensite to enable, create index.html
add text : lc-dev1.local
to end of the file /etc/hosts
Create a new vHost in Ubuntu Server