I am setting up a LAMP development environment on my ubuntu 8.04 desktop. I have a virtual host (dev.local) that is located at /home/USER/www I am wondering how I can make it so all sub directories are subdomains of dev.local (ie: /home/USER/www/project1 would become a document root at project1.dev.local) I do not have or want a static IP. Can I do this? Thanks, Kevin
You can set up vhosts for each subdomain in the Apache configuration (e.g. a vhost for project1.dev.local with the document root /home/USER/www/project1 and so on).
Can I have it automatically setup a sub directory as a virtualhost? On my server which has a DNS server I use VirtualDocumentRoot to do this. Any way I can do this without a DNS server? Kevin