Thanks roger but after much attempt I think its not apache that is the problem.
Since this is all in an intranet, I have to use my window's host file to point a domain to a specific internal IP.
The problem is window's host files dont allow for wildcards,
so when I can point
192.168.2.x to mysampledomain.com
it wont recognize test.mysampledomain.com to resolve to 192.168.2.x
I have a Ubuntu server setup to an IP, but i'm guessing I need to have that server as my primary DNS and an external server as my secondary DNS. so that if I request anything with mysampledomain.com it resolves to that computer first?
Anybody done DNS routing with linux, i'm not a linux guru