I do quite a few little jobs where I move websites between servers. Before I change DNS I'd like to check that the new server will respond to the request with the correct content before I make the DNS change. I know I can make a change in my local hosts file, but that's a bit annoying. Is there a better way?
Windows: I use fiddler2 set your browser to use it as a proxy, under tools it has hosts manager which you can tell it to replace certain host names with another hostname or ip address works well. Wildcards on domain names are supported.
Linux I just run my own local dns server and edit that way.
I find fiddler faster since it supports wildcards and you can toggle the DNS mapping off and on with one click rather than having to comment out multiple lines like I tend to have to in windows hosts file. + I can verify where a page I just requested was actually pulled from which is a help since sometimes if you have the page open in another tab it keeps requesting from a host your not expecting after updating the hosts file.
Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly
to your computer or smartphone by using a feed reader.