I want to do something I thought was simple,
I want in my machine, to edit the dns record for domain.com to one ip I want.
The reason to do this is I am trying to move some websites to another server and I want to test that everything is working ok on the new server before I change the dns entries of the domain.
I tried searching and I couldn't find anything useful, or easy, I tried added the entry to the windows hosts file, and flushed the dns settings, but still no luck. I keep getting the old ip.
What is the way to do this ?
Best Answer
You need to edit the "hosts" file, and possibly restart your browser. Have a look at this link. to find the specific location and format of it.