When I release a new version of my web application, I try it first on a staging website, which is basically a clone of the production environment.
It's not enough for me to access the staging server by typing the IP address in my browser, as the application uses virtual hosts and thus replies on several domains and sub-domains.
What I'd like to do ideally, is temporarily override my DNS settings in Chrome, to force it to load mydomain.com and *.mydomain.com from the clone server.
I can do it from my hosts file, but it's quite cumbersome, and I doubt the changes will be taken into consideration immediately (and without a restart of Chrome), both to set the temporary DNS and to revert them back to their default value.
Is there a way in Chrome to temporarily send all requests for a given domain name to a given IP address?