Hey everyone. I set up virtual host on my Apache box, well I thought I did, but it does not work. This is my code.

NameVirtualHost 65.112.18.1**

<VirtualHost 65.112.18.1**>
ServerName www.mainsite.com
DocumentRoot /var/www/html
</VirtualHost>

<VirtualHost 65.112.18.1**>
ServerName www.virtualsite.net
DocumentRoot /var/www/html/public_html/mike/
DirectoryIndex index.html
</VirtualHost>

I read tons of the Apache pages and it seems like it should work. I added web forwarding through the Netsol GUI so that both domains point to that same IP. Do I need to add other stuff in httpd.conf or somewhere else? The only way I can get it to work is if I web forward to www.mainsite.com/public_html/mike/. But that sucks cuz it leaves the main sites URL instead of the virtual host URL. Hope this makes sense. I can clear up any weirdness. Thanks in advance.