HELP: Apache on MAC OSX


I am running a MAC OSX on a MACBOOK and have been developing my website on it. My concern is that I created a directory under the LOCALHOST directory manually and then map it using Dreamweaver. Is there any better way to create a VIRTUAL HOST other then manually creating a folder inside it? I have been experiencing some problems when publishing so maybe I am doing it wrong.