I would like to map my directories/subdomains in the following way:
/home/sam/sites/* to http://*.sam
I don't want to have to add a line to my hosts file every time I spool up a new site.
I'm a beginner when it comes to configuring and installing apache, what's the best way to achieve this?
http://localhost.samorhttp://sam.localhost? – Achu Jul 11 '11 at 13:42localhostrequires editing thehostsfile. – Nathan Osman Jul 11 '11 at 17:37