What shall I do if I want to make apache to automatically create ~username subdirectories for each account? I tried to google it but I don't know how to call this...
Hey, what you're looking for is mod_userdir.
Enabling it depends on the distribution you're using.
For CentOS Open /etc/httpd/httpd.conf - search for and change:
Or, for Ubuntu/Debian:
Afterwards you'll need to restart your webserver, i.e.
You are also able to configure what directory is used for userdir (default public_html) by specifying UserDir [name of dir] instead of UserDir enable