Apache Virtual Host Script with mysql db.
Last updated
Was this helpful?
Last updated
Was this helpful?
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
cd /etc/apache2/sites-available
mv support.example.com support.example.com.conf
a2ensite support.example.com
systemctl reload apache2