I have that in my host block.opendns.com

It works when I use: http://block.opendns.com

But does not work when I use: https://block.opendns.com

Any idea how to use hosts with an HTTPS site ?

  • What do you mean exactly by "does not work" / "works"? – Tero Kilkanen Aug 6 '15 at 18:42

HTTP and HTTPS are only the protocol/port which is being used for your request. Adding this line to your host file " block.opendns.com" will only tell your PC that block.opendns.com is located at this IP so no matter what you put before the URL (http/https) it will resolve

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.