Originally posted by Hamsterpants
<VirtualHost 127.0.0.2>
DocumentRoot c:/phpdev/www/envirodri
ServerName 127.0.0.2
</VirtualHost>
Well, you've almost got it right there. The key here is NAMED vitual hosts. you don't need DNS on your machine, you just need a way to make sure users can resolve names. for my big box at work we have a DNS entry that is something like this: (all made up, not real numbers or names to protect the not so innocent.)
10.0.0.1 bigbox.comp.com techdocs.comp.com bubba.comp.com test10.comp.com .... namenumber50.comp.com
then, my httpd.conf file on the main server is something like:
Listen 10.0.0.1:80
NameVirtualHost 10.0.0.1
<VirtualHost 10.0.0.1>
DocumentRoot /www/bigbox
ServerName bigbox.comp.com
</VirtualHost>
<VirtualHost 10.0.0.1>
DocumentRoot /www/techdocs
ServerName techdocs.comp.com
</VirtualHost>
Then you have your DNS administrator push out the aliases for your DNS entry onto the net. note that since they're all on the same domain, that you don't have to register a domain or anything, it should be pretty easy to do if you can figure out who runs DNS and get them to do that.