Some notes I took to get virtual hosting to work with Apache 2.x on Ubuntu 10.04. I will probably go back and clean it up later. Not saying this is the right way to do it, but it is what was done. I may also have missed a step or two. Oh well for the middle of the night, who knows what I did. In any case this is for private networks only. WARNING: IT IS NOT SECURE (i.e Do not use on a live server to the internet and if you do, do it at your own risk).
One nice thing about this project is that for home everyone can have not only their own web site, they can have several of them.
Note: This project assumes you already have all the Apache modules you need. If you run into a problem please get expert help if you are unsure as to what to do.
Step 1: DNS.
Mod hosts files for host and dns, but use actual server ip. You will need to talk to the dns admin about modifying the dns server.
$ sudo nano /etc/hosts
127.0.0.1 localhost oesrvr1
127.0.1.1 oesrvr1 www.softserv.com
192.168.1.31 oesrvr1 www.softserv.com
# The following lines are desirable for IPv6 capable hosts