Skip to content

Instantly share code, notes, and snippets.

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