I'm testing a new server and have been playing with /etc/hosts.
I have been able to get it working on just domain.com, but if I try www.domain.com it points to where the actual domain is currently delegated, not the testing server.
ie
xxx.xx.xx.xx domain.com
If I load domain.com, I get the ip address I enter. With this though I enter www.domain.com I get where the domain is currently hosted.
if I try:
xxx.xx.xx.xx www.domain.com
I still end up with where the domain is currently hosted and not the test server.
What am I missing here?
