I am running a development environment on my Macintosh using AMPPS.
I have a folder with my project files. I have added this to my hosts
file:
127.0.0.1 www.example.com
and I have set up the virtual domain accordingly.
When I attempt to connect to the site using Firefox:
http://www.example.com
it always redirects to:
https://www.example.com
and then complains about it.
The folder has nothing else in it but a dummy index.html
file.
When I test the site in lynx or in Safari or Chrome, I get to my sample site. When I test in Firefox, that’s when I get the problem.
Firefox is my main browser, so it is possible that I have a caching problem, but I cannot see any method of clearing the cache that I haven’t tried already: trying to forget the page or clearing the cache.
I have tried all the suggestions mentioned here and elsewhere, but I am obviously missing something.
How do I stop Firefox from doing this?
Try this:
about:config
network.stricttransportsecurity.preloadlist
and set it to false
(double click)If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With