• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Can I set a Hosts file just for one browser?

Kelemvor

Lifer
Howdy,

I'm working on moving my website to a new host. I have the new server up and can access my site via a hosts file entry. However, this makes all my browsers go to the new site.

What I want is so that I can use one borwser to hit the new site and one to hit the old site so I can do some comparisons and things like that.

Is there any way to do that via a plugin for Chrome or Firefox or anything like that?

Thanks.
 
I think your best bet may be to use a VM or another computer because you can't set different hosts files for different browsers, it is a computer wide setting
 
Setup a proxy server that has the correct IP for the dev site? Can set one browser to use the proxy, another to not use it.
 
This wouldn't let you use both sites at once, but you could write batch files or powershell scripts to swap 2 different hosts files in and out.

You could also have a script that does this:

- swap in the new hosts file
- run the browser
- wait for the browser to close
- swap back the old hosts file

My batch fu is weak so I can't do this for you, but someone in the Programming forum could.
 
Back
Top