Firefox – Custom Host File

firefoxhosts

Instead of changing my host file I'd like Firefox to think my domain is on my own server while my other browser uses the real IP address. I used to edit my host files but that forces both browsers to change the IP address.

I found change host, but it doesn't appear to use the alternative host file. I also saw a comment asking when it will work on Firefox 6+.

I tried Host Admin and it fails. It works but the alternative IP address must be in your host file already (which I don't want) and it lets you deselect a domain so the host file is ignored which is not what I want.

Best Answer

You can use FoxyProxy Standard for that. It is free.

With FoxyProxy you can make that all requests to www.somedomain.com/* to be served by another ip address only for Firefox, without touching your hosts file, and the other browsers will be served by original/normal ip address.

It is very easy: You create a new proxy with "Add New Proxy", and in Details you assign your "other" ip address in "Host or IP Address" and the port, and later in the "URL Patterns" you enter for example "*://www.somedomain.com/*" and that is all. Only for Firefox the www.somedomain.com request will be served with the "other" ip.

Related Question