Suppose example.com
points to 1.2.3.4
IP address.
I want to be able to put something.example.com
in my Windows hosts file so that it goes to another IP address. I've defined it as such in the hosts file.
9.8.7.6 something.example.com
When I ping something.example.com
I still get 1.2.3.4
and when I visit the URL, it still resolves the website on 1.2.3.4
instead of from where I want, 9.8.7.6