autovirtualhostapche with this scrpt you can create virtualhost for domain and sub domain on apache and generat ssl for them by letsencrypt