Good suggestion, Joe, but that’s not available with the packaged Lucee/Tomcat installation: https://lucee.daemonite.io/t/access-to-host-manager-in-lucee-5/1877/3
I like the idea of being able to script host creation as well as avoiding restarts though so perhaps I ought to learn how to do a standard Tomcat install and add Lucee to it.