Getting Hosts File Changes to Work with Firefox 76

Firefox Master Brand Logo

You may be migrating a website to a new host, migrating an entire server’s worth of domains, or doing one of many tasks that requires you to temporarily change the hosts file on your computer in order to test a site that is on a new IP address.

Regardless of the reason, if you alter the hosts file and expect the changes to work immediately in Firefox 76, you may get an unpleasant surprise.

Today, I’m in the midst of testing a server migration, so I have a number of sites to test on the new, temporary IP addresses. I’m using Linux and Firefox 76, so I edited my /etc/hosts file, adding the new, temporary IP address for one of the sites, started Firefox, and browsed to the domain.

I got the old server.

Continue reading “Getting Hosts File Changes to Work with Firefox 76”