Firefox Interupts localhost To www.localhost.com

Firefox tries to be too clever and when the address doesn’t work, it tries to connect to sites on common patterns like adding .com or www. to the address in case the user accidentally forgot to put them in.

For web development this can be quite annoying because of testing locally running websites which may or may not be working.

To stop this go type in about:config in the address bar. A warning may appear but acknowledge it.

Filter the config to browser.fixup.alternate.enabled and change the value from true to false. This can be done by double clicking on the row to toggle between the values.
Firefox fixup config

There is no need to save it because the changes take effect instantly.

Disable Firefox redirecting to localhost.com

About Danny

I.T software professional always studying and applying the knowledge gained and one way of doing this is to blog. Danny also has participates in a part time project called Energy@Home [http://code.google.com/p/energyathome/] for monitoring energy usage on a premise. Dedicated to I.T since studying pure Information Technology since the age of 16, Danny Tsang working in the field that he has aimed for since leaving school. View all posts by Danny → This entry was posted in Software and tagged , . Bookmark the permalink.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.