I have read the documentation on how to create a dynamic virtual host system on Apache's website, but I am quite confused about some things:
1) Do I have to dynamically configure window's host file to update each time a virtual host is added, if so, how?
2) Say a domain gets a name change, do I have to just rename the directory and edit the host file aswell?
3) For a vitualhost to direct it's name to a subdomain all I need to do is
where 0% = sub.domain.com, right? Without the hassle of learning how to configure a DNS.
4) Also, how would I stop others from accessing other people's directories?