View Full Version : [ubuntu] Dynamic IP Virtual Hosts

October 29th, 2008, 02:22 PM

I am trying to setup a lamp development environment. I have a virtual host set up for dev.local (/home/user/www).

I would like to have every sub directory in /home/user/www to be a subdomain of dev.local (ie /home/user/www/project1's would be accessible via project1.dev.local) I don't want to have to manually setup a virtual host every time I start a new project - I just want to create a directory.

Thanks for any help,