Lessons Learned: Development Server Organization
All blog entries reflect the opinions of the author and have not been expressly endorsed by the Ivan Allen College of Liberal Arts or the Georgia Institute of Technology.
There are a few lessons that I learned before I came to the Ivan Allen College that have benefited me greatly in my first few months with the college. One of them is that it's far easier to do web development if you set up your own LAMP server and host all of your development sites in one place.
My LAMP (Linux, Apache, MySQL, PHP) server is a very straightforward setup with virtual hosting enabled. I use a standardized directory tree structure where each virtual host gets its own directory with subdirectories for its httpdocs and logs. Anything private that goes along with that particular website gets its own directory off of that main directory, thus keeping everything for a website in one place. A series of directory aliases (soft links) simplifies the task of navigating amongst all of these sites.