You've created a very large task for yourself here. Let's start with a couple of hints on getting the websites up and running.
First, you need to start by reading this document:
https://help.ubuntu.com/12.04/server...b-servers.html. Start by reading the Apache documentation. I'll just concentrate on getting one virtual server up and running.
Ubuntu puts the configuration file for each virtual host in the directory /etc/apache2/sites-available/. You then "activate" the available sites with the command "a2ensite". In practice, it creates a "symbolic link" or "symlink" in /etc/apache2/sites-enabled/ that points to the file in /sites-available/ that defines the virtual host. (A Unix symbolic link is somewhat akin to a Windows "shortcut" though no actual file is created.)
So what you need to do is follow that guide to create a virtual host definition that will reside in /sites-available/ and be activated. One thing that file will define is the "DocumentRoot" for the server, the directory that corresponds to the root URL
http://example.com/. The default location on Ubuntu is /var/www, but that is a directory only root can write to. I put my sites in users' home directories.
In your case, I would create a user called "autoworks" and create a directory in that user's home directory to house the website. I would use /home/autoworks/web, but you can choose whatever you want. Make that the DocumentRoot in the site's configuration file and apply any <Directory> controls you need. This makes managing the site much easier since you just need to log in as user autoworks to access the website.
Bookmarks