Change DNS for particular browser only?

6

2

I'd like to change DNS for particular browser only (Chrome or Firefox). I don't want to edit hosts file because I don't want complete system to override the IP for the domain. I just need THE ONE BROWSER to do this. Is there a way except advanced fiddling with proxy ?

Greenleader

Posted 2013-09-14T14:22:19.783

Reputation: 446

@Greenleader if that's the reason, how about using the IP addresses instead? Until the switch is complete... – Dr.Ping – 2016-08-18T15:39:36.413

Oh man. Just realized that this question is nearly 3 years old... – Dr.Ping – 2016-08-18T15:41:19.623

Very good question. I'm interested in a solution myself. If you clarified what website (Netflix, Hulu etc.)you wanted to access with the different DNS then there might be other solutions available. – Zerobinary99 – 2013-09-14T14:28:44.293

It is my website. My domain - I am changing frameworks AND hosting companies and adding stuff manually from one to another. That's why I need to access old LIVE version and at the same time to alter the new version. – Greenleader – 2013-09-14T15:20:29.213

Answers

3

I believe there is no other way but to use the hosts file. Check this addon can help you somehow SwitchHosts for Firefox.

stderr

Posted 2013-09-14T14:22:19.783

Reputation: 9 300

1

There are several plugins for popular browsers that will allow you to make this change without editing system files. This is one of the fastest and easiest ways to check your server before pointing your domain.

All plugins require your desired host and your server IP to load it from. Each plugin will have different instructions to use. Instructions for proper use may differ based on version.

Here below are the plugins/addons I found (before installing, heck if they're still maintained and compatible with your browser's version).

Chrome

Virtual Hosts

Install Virtual Hosts

Virtual Hosts

  • Enter the fully qualified domain name in the VHost Domain field
  • Enter the destination IP address in the VHost IP field
  • Tick the enable check box
HostSwitch Plus

Install HostSwitch Plus

HostSwitch Plus * Enter the destination IP address in the IP field * Specify the fully qualified domain name in the Domain field

Firefox

Switch Hosts

Install Switch Hosts

HostAdmin

Install HostAdmin

Cédric Françoys

Posted 2013-09-14T14:22:19.783

Reputation: 113

0

Not exactly a DNS server, but Host Switch Plus1 on Chrome worked for me. It also allows multiple entries with tagging for dev, prod and test. I primarily use it when I am testing a site allowing the other browsers to access the production site as well.

taatparya

Posted 2013-09-14T14:22:19.783

Reputation: 21

Please do not post the same answer to multiple questions. If the same information really answers both questions, then one question (usually the newer one) should be closed as a duplicate of the other. You can indicate this by voting to close it as a duplicate or, if you don't have enough reputation for that, raise a flag to indicate that it's a duplicate. Otherwise, be sure you tailor your answer to this question and don't just paste the same answer in multiple places.

– DavidPostill – 2016-08-18T10:08:40.737