I'm not sure if this is apache or not so if not please tell me where I should post this

.
Using the windos hosts file I've made it so if I go to
www.forum.com it shows my root localhost folder, however I'd like it to show a certain sub folder.
Is there a way with I can make apache look what the domain is, and if its forum.com use the sub folder as the default folder it uses?
EDIT:
I've just found and tried adding
Code:
<VirtualHost *>
ServerName www.forum.com
DocumentRoot "C:/Websites/Dropbox/NAPF"
</VirtualHost>
And that seems to work

.