Apache template website with template MySQL database

Hi, strange question but is it possible to make a template/skeleton for a newly created domains so it can also create certain file structure already inside public_html folder

  • for example all files for Wordpress installation and also template MySQL database with certain structure? (and not via Virtualmin WP script installation, I have my own preloaded with certain tweaks/modules/customisations). Thank you!


It’s technically possible to make use of the “/etc/skel” directory to setup additional folders and files that you want “every” website to start off with, however you cannot preload mysql database in this manner that I’m aware of.