Are you editing httpd.conf directly?
My setup uses cPanel which modifies the file directly but once it a while I find it easier to edit it myself.
Hence to add a new virtual host you would copy and paste and existing entry and edit the url/local path etc.
Info on Apache site
here
hth
Charles