I’ve just installed Ubuntu Server on a new server and have been looking around for tutorials on setting up a web server with multiple user accounts.
How I’ve set small web servers like this in the past is the same way most of the tutorials suggest, by creating directories within
/var/www/ and then using Apache virtual hosts to redirect the traffic.
What I’m trying to do is create a system whereby the user accounts are setup under
/home/new_account/, and then the
public_html directory is within that, which is where the virtual hosts links to.
Is it as simple as that? If I wanted to automate it from a control panel, can I create accounts easily using, say PHP?