Ok here is what I'm wanting to do. I have my production site running on my domain.
I want to have a
testing site thats a sub domain for development.
now I have all my DNS records set and everything is resolving.
So in my
tomcat directory on top of the webapps dir i created a dev dir at the same level.
both dirs have ROOT directory.
here is an example of how my server.xml file is set up.
My question is why does both www.example and dev.example resolve and load the production page?
How do i get the other subdomain to refer to the /dev and not the /webapp directory ?
I 'm feeling kinda lost here so any point in the right direction would be great.