development environment

Discussion in 'Desktop Operation' started by kingpin393, Oct 28, 2008.

  1. kingpin393

    kingpin393 New Member

    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
     
  2. falko

    falko Super Moderator Howtoforge Staff

    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).
     
  3. kingpin393

    kingpin393 New Member

    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
     

Share This Page