Recommended method in managing virtual hosts
I’d like to use a Droplet for a bunch of small websites using Apache’s Virtual Hosts, PHP and MySQL. I’d like to do it safely, like putting the hosts in a sandbox (chroot, open base dir) something like that.
I can do this by configuring this all by hand for each domain. That will work fine, but it takes quite some time and it’s easy to make a mistake. On the other hand, I could use a bloated manager like DirectAdmin. I could also use a shell script.
I’m wondering about the recommended and most used method to get this done. Thank you in advance.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.