lamp-vhost-manager usage
first install lamp server
Download script and make file executable using
chmod +x lamp-vhost-manager.sh
then
./lamp-vhost-manager.sh -m add -n support.example.com -u root -p password
Where root is your database name
support.example.com is your url
password is your password
you have to change it to your need
cd /etc/apache2/sites-available
mv support.example.com support.example.com.conf
a2ensite support.example.com
systemctl reload apache2
Last updated 5 years ago