#1  
Old 29th October 2008, 00:49
kingpin393 kingpin393 is offline
Junior Member
 
Join Date: May 2008
Posts: 18
Thanks: 3
Thanked 0 Times in 0 Posts
Default development environment

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
Reply With Quote
Sponsored Links
  #2  
Old 29th October 2008, 14:06
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

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).
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 29th October 2008, 14:10
kingpin393 kingpin393 is offline
Junior Member
 
Join Date: May 2008
Posts: 18
Thanks: 3
Thanked 0 Times in 0 Posts
 
Default

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
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ffmpeg Video support for ubuntu 7.10 [suphp-ispconfig] amaurib Installation/Configuration 13 16th February 2010 18:26
ISPConfig on development machine p3tr Installation/Configuration 1 26th January 2008 10:59
Network problem moving system disk from development system to production system Brian Donahue Installation/Configuration 2 30th November 2007 17:28
Virtual hosting locally in our development environment Brenton Server Operation 3 26th August 2006 01:18
ISPConfig Stable + Development till Developers' Forum 7 20th May 2006 12:15


All times are GMT +2. The time now is 07:59.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.