Firefox adding www in front of urls messing up local network hostnames

Red Squirrel

No Lifer
May 24, 2003
70,148
13,565
126
www.anyf.ca
I have some local stuff that's accessible without using www. in front of it. Recently, Firefox started automaticly adding www. which is now messing up trying to access those urls.

Is there a way to disable this feature? I found something in about:config called browser.fixup.alternate.enabled and set it to false but it did nothing. Is there anything else I can try?
 

VirtualLarry

No Lifer
Aug 25, 2001
56,571
10,206
126
I think that about:config has a list of "fixups" to try, like "www.*" and "*.com" and whatnot, maybe you can edit that list too, and remove it, if it's not in the code. I too find that very annoying.
 

mxnerd

Diamond Member
Jul 6, 2007
6,799
1,103
126
Probably need to clear cache or cookie & history after you disabled that setting.
 
Last edited:

Red Squirrel

No Lifer
May 24, 2003
70,148
13,565
126
www.anyf.ca
What happens if you add the address (without the www. prefix) in your local DNS server?

It already is in my local DNS server. (otherwise it would not work :p )

It seems to be very intermittent too, like if I type it, it does not work, if I copy and paste it and hit enter, it does. It's also random for each name. Basically I have a dev server where I can access project with projectname.d.appdev.loc where projectname is a folder and d is for dev, there's also t for test. I have a script that automaticly creates virtual hosts for each project's folder and a DNS entry and updates the DNS server every midnight. The issue is randomly, firefox will put www. in front of projectname so the then it won't resolve right because there won't be a folder called that. It's very random too, like one particular project it was doing it about 50% of the time, while other projects seem fine.

As I post this it does not seem to be doing it anymore, but it's just weird how it's so random.